解決辦法:使用escape進行文件名編碼
uni.downloadFile({ url: url, success: function(res) { var filePath = res.tempFilePath; //打開文件有效值 doc, xls, ppt, pdf, docx, xlsx, pptx uni.openDocument({ filePath: escape(filePath), success: function(res) { uni.hideLoading(); that.downloadFile_onoff = true; }, fail() { uni.showToast({ title: '暫不支持此類型', duration: 2000 }); uni.hideLoading(); that.downloadFile_onoff = true; } }); } });