Sfoglia il codice sorgente

部署后提示用户更新31

tyler 2 anni fa
parent
commit
496e8fc4fa
1 ha cambiato i file con 2 aggiunte e 9 eliminazioni
  1. 2 9
      src/App.vue

+ 2 - 9
src/App.vue

@@ -9,7 +9,7 @@
       <span>{{ $t('notificationProps.description') }}</span>
       <span slot="footer" class="dialog-footer">
         <el-button @click="dialogVisible = false">{{ $t('notificationProps.cancelButtonText') }}</el-button>
-        <el-button type="primary" @click="notificationreRresh">{{ $t('notificationProps.confirmButtonText') }}</el-button>
+        <el-button type="primary" @click="notificationRefresh">{{ $t('notificationProps.confirmButtonText') }}</el-button>
       </span>
     </el-dialog>
   </div>
@@ -74,17 +74,10 @@ export default {
     })
   },
   methods: {
-    notificationreRresh() {
+    notificationRefresh() {
       // setTimeout()
       location.reload()
       this.dialogVisible = false
-    },
-    handleClose(done) {
-      this.$confirm('确认关闭?')
-        .then(_ => {
-          done()
-        })
-        .catch(_ => {})
     }
   }
 }