diff --git a/project/xumu/AppWeightManage/AppWeightManage.vue b/project/xumu/AppWeightManage/AppWeightManage.vue index 2f789a4e..a7483fe6 100644 --- a/project/xumu/AppWeightManage/AppWeightManage.vue +++ b/project/xumu/AppWeightManage/AppWeightManage.vue @@ -16,9 +16,9 @@ export default { return hash == "#add" ? add : list } }, - data() { - return {} - } + created() { + this.dict.load( "yesOrNo", "category", "variety", "dataSources") + }, } diff --git a/project/xumu/AppWeightManage/add.vue b/project/xumu/AppWeightManage/add.vue index b755a0d1..536b5250 100644 --- a/project/xumu/AppWeightManage/add.vue +++ b/project/xumu/AppWeightManage/add.vue @@ -72,7 +72,6 @@ export default { } }, created() { - this.dict.load("yesOrNo", "category", "variety", "dataSources") this.getDetail() } }