From ac96880b329a1e1573a326f55029d214028ad418 Mon Sep 17 00:00:00 2001 From: TiaStars Date: Fri, 11 Oct 2024 15:37:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E5=85=A8=E7=9B=91=E6=B5=8B=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E6=94=B9=E2=8C=88=20=E4=B8=8D=E7=9F=A5?= =?UTF-8?q?=E9=81=93=E5=AF=B9=E4=B8=8D=E5=AF=B9=20=E2=8C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/generator/render.js | 2 +- src/views/login.vue | 18 +++++++++--------- src/views/login_v1.vue | 19 ++++++++++--------- 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/src/utils/generator/render.js b/src/utils/generator/render.js index 2808625..0ebda2c 100644 --- a/src/utils/generator/render.js +++ b/src/utils/generator/render.js @@ -125,7 +125,7 @@ const componentChild = { conf["on-preview"] = (response, fileList) => { // 在上传成功后的回调函数中可以执行你的业务逻辑 // console.log('点击', response); - window.open( process.env.VUE_APP_BASE_API + response.response.fileName) + // window.open( process.env.VUE_APP_BASE_API + response.response.fileName) // 这里可以根据需要执行其他操作,例如更新界面或显示消息 }; diff --git a/src/views/login.vue b/src/views/login.vue index 8e3dafb..ff20264 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -26,9 +26,9 @@ /> - + { this.$router.push({ path: this.redirect || "/" }).catch(() => {}); }) diff --git a/src/views/login_v1.vue b/src/views/login_v1.vue index 48e1b9d..e517d8f 100644 --- a/src/views/login_v1.vue +++ b/src/views/login_v1.vue @@ -25,9 +25,9 @@ /> - + { Cookies.set("newSysLogininfor", 1); this.$router.push({ path: this.redirect || "/" }).catch(() => {});