瀏覽代碼

部署后提示用户更新17

tyler 3 年之前
父節點
當前提交
021c05512c
共有 1 個文件被更改,包括 9 次插入1 次删除
  1. 9 1
      src/App.vue

+ 9 - 1
src/App.vue

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