Browse Source

部署后提示用户更新17

tyler 2 years ago
parent
commit
021c05512c
1 changed files with 9 additions and 1 deletions
  1. 9 1
      src/App.vue

+ 9 - 1
src/App.vue

@@ -9,7 +9,7 @@ import store from './store'
 
 
 export default {
 export default {
   name: 'App',
   name: 'App',
-  mounted() {
+  created() {
     const self = this
     const self = this
     const language = store.state.app.language
     const language = store.state.app.language
     document.body.addEventListener('plugin_web_update_notice', (e) => {
     document.body.addEventListener('plugin_web_update_notice', (e) => {
@@ -67,3 +67,11 @@ export default {
   }
   }
 }
 }
 </script>
 </script>
+
+<style lang="scss" scoped>
+#app {
+  ::v-deep .el-message-box{
+    width: 320px;
+  }
+}
+</style>