Quellcode durchsuchen

部署后提示用户更新23

tyler vor 2 Jahren
Ursprung
Commit
88920ab57c
1 geänderte Dateien mit 0 neuen und 12 gelöschten Zeilen
  1. 0 12
      src/App.vue

+ 0 - 12
src/App.vue

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