coys vor 1 Jahr
Ursprung
Commit
3fa2164e9a
1 geänderte Dateien mit 2 neuen und 8 gelöschten Zeilen
  1. 2 8
      src/utils/onresizeMixins.js

+ 2 - 8
src/utils/onresizeMixins.js

@@ -6,12 +6,7 @@ export const onresizeHandler = {
       isBtn: true //是否显示隐藏保存提交按钮(演练登记&教育培训)
     }
   },
-  created() {
-    /** 组件中设置dicts数组,会将字典存储在vuex中*/
-    if (this.dicts && this.dicts.length > 0) {
-      this.setDicts()
-    }
-  },
+  created() {},
   watch: {
     //监听显示高度
     showHeight: function () {
@@ -31,6 +26,5 @@ export const onresizeHandler = {
         this.showHeight = document.documentElement.clientHeight || document.body.clientHeight
       })()
     }
-  },
- 
+  }
 }