mo 1 year ago
parent
commit
65181bc111
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/components/RouterError/index.tsx

+ 2 - 1
src/components/RouterError/index.tsx

@@ -47,7 +47,7 @@ export default defineComponent({
           });
           if (flag) {
             // window.location.reload();
-            showModalMask.value = true
+
             // dialog.warning({
             //   title: '更新提示',
             //   content: '网站有更新请点击确定刷新页面?',
@@ -68,6 +68,7 @@ export default defineComponent({
           if (refreshing) {
             return;
           }
+          showModalMask.value = true
           refreshing = true;
 
         });