Commit 4052330b by 李嘉林

首页加载优化

parent f184b87c
...@@ -41,6 +41,13 @@ export default { ...@@ -41,6 +41,13 @@ export default {
loaded: false, loaded: false,
}; };
}, },
watch: {
datas(newVal,oldVal) {
if (newVal) {
this.getList()
}
}
},
computed:{ computed:{
comStr(){ comStr(){
return compiler(this.datas.componentData.comStr,this.datas.componentData.comData); return compiler(this.datas.componentData.comStr,this.datas.componentData.comData);
...@@ -116,7 +123,7 @@ export default { ...@@ -116,7 +123,7 @@ export default {
}, },
getComStr(item){ getComStr(item){
compiler(this.datas.componentData.comStr,item); compiler(this.datas.componentData.comStr,item);
}, }
}, },
components: {}, components: {},
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment