src/plugins/download.js
@@ -89,7 +89,13 @@ if (state) { url1 = Vue.prototype.javaApi + '/img/' + text; } else { url1 = Vue.prototype.javaApi + '/word/' + text 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);