فهرست منبع

部署后提示用户更新23

tyler 2 سال پیش
والد
کامیت
88920ab57c
1فایلهای تغییر یافته به همراه0 افزوده شده و 12 حذف شده
  1. 0 12
      src/App.vue

+ 0 - 12
src/App.vue

@@ -28,12 +28,6 @@ export default {
             location.reload()
           })
           .catch(action => {
-            self.$message({
-              type: 'info',
-              message: action === 'cancel'
-                ? 'Abandon saving and leave the page'
-                : 'Stay on the current page'
-            })
           })
       } else {
         self.$confirm('检测到系统更新,请刷新页面?', '📢 系统更新', {
@@ -47,12 +41,6 @@ export default {
             location.reload()
           })
           .catch(action => {
-            self.$message({
-              type: 'info',
-              message: action === 'cancel'
-                ? '放弃保存并离开页面'
-                : '停留在当前页面'
-            })
           })
       }
     })