Преглед изворни кода

部署后提示用户更新33

tyler пре 2 година
родитељ
комит
2c1ded15d7
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      src/App.vue

+ 2 - 1
src/App.vue

@@ -2,6 +2,7 @@
   <div id="app">
     <router-view />
     <el-dialog
+      v-if="dialogVisible"
       :title="$t('notificationProps.title')"
       :visible.sync="dialogVisible"
       width="320px"
@@ -29,7 +30,7 @@ export default {
     this.init()
   },
   methods: {
-    init(){
+    init() {
       const self = this
       const language = store.state.app.language
       document.body.addEventListener('plugin_web_update_notice', (e) => {