From f25a3ce7be3ee8bb76d40a9455efe48c43f497e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com> Date: Fri, 21 Nov 2025 10:03:11 +0800 Subject: [PATCH] tijiao --- src/components/page/ReferenceEditor.vue | 13 +++++++++---- vue.config.js | 4 ++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/components/page/ReferenceEditor.vue b/src/components/page/ReferenceEditor.vue index 7be6958..b26ee0c 100644 --- a/src/components/page/ReferenceEditor.vue +++ b/src/components/page/ReferenceEditor.vue @@ -412,10 +412,15 @@ @@ -576,7 +581,7 @@ export default { } //percent是后端返回的进度 - if (progress == this.Tempredable.length) { + if (progress == res.data.total) { this.isUpload = false; clearInterval(this.uploadTimer); diff --git a/vue.config.js b/vue.config.js index 50632b5..23fbde3 100644 --- a/vue.config.js +++ b/vue.config.js @@ -76,8 +76,8 @@ module.exports = { // target: 'http://192.168.110.110/tougao/public/index.php/', // target: 'http://api.tmrjournals.com/public/index.php/',//正式 // target: 'http://zmzm.tougao.dev.com/',//晓玲 - // target: 'https://submission.tmrjournals.com/',//正式 - target: 'http://tougaotest.tmrjournals.com/public/index.php/',//测试环境 + target: 'https://submission.tmrjournals.com/',//正式 + // target: 'http://tougaotest.tmrjournals.com/public/index.php/',//测试环境 changeOrigin: true, pathRewrite: { '^/api': ''