src/plugins/download.js
@@ -89,8 +89,14 @@ if (state) { url1 = Vue.prototype.javaApi + '/img/' + text; } else { if (text.startsWith("/word/")) { url1 = Vue.prototype.javaApi + text } else if (text.startsWith("word/")) { url1 = Vue.prototype.javaApi + '/' + text } else { url1 = Vue.prototype.javaApi + '/word/' + text } } // 使用 fetch 获取文件 const response = await fetch(url1); if (!response.ok) {