From 1d240815cccac3818cf6b0fb226ac48e34fd1378 Mon Sep 17 00:00:00 2001 From: ZHANG_666 <1259558183@qq.com> Date: Mon, 14 Oct 2024 23:02:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=BF=AE=E6=94=B9=E5=BC=B9=E6=A1=86?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modelEdit/index.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/modelEdit/index.vue b/src/views/modelEdit/index.vue index af7010d..508c5eb 100644 --- a/src/views/modelEdit/index.vue +++ b/src/views/modelEdit/index.vue @@ -93,20 +93,19 @@ const updateResources = () => { const env = import.meta.env.VITE_USER_NODE_ENV; if (env == "production") { ElMessageBox.confirm( - "本网站采用“腾讯云静态网站托管”每次更新资源可能存在缓存问题,若页面内容显示异常点击“强刷页面”按钮强刷页面即可", + "本网站采用“腾讯云静态网站托管”每次更新资源可能存在缓存问题,若页面内容显示异常使用“ctrl+f5”强刷页面即可", "提示", { showClose: false, closeOnClickModal: false, closeOnPressEscape: false, distinguishCancelAndClose: true, - confirmButtonText: "关闭弹框", - cancelButtonText: " 强刷页面" + confirmButtonText: "关闭弹框" } ) .then(() => {}) .catch(() => { - location.replace(location.href); + location.reload(true); }); } }; -- Gitee