tyler 2 лет назад
Родитель
Сommit
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) => {