@@ -143,7 +143,7 @@
})
},
methods: {
- moduleFormatter(item){console.log(item)
+ moduleFormatter(item){
const field = this.fieldTypes.filter((it)=>it.val==item.modeId);
return field[0]?field[0].name:'';
@@ -100,9 +100,13 @@
}
created() {
- this.getAllTypes().then(()=>{
- this.getDataList()
- })
+ const _this=this;
+ setTimeout(function(){
+ _this.getAllTypes().then(()=>{
+ _this.getDataList()
+ })
+ },100);
+
watch: {
'filter': {