大屏表格组件bug
This commit is contained in:
		| @@ -218,8 +218,18 @@ export default { | ||||
|     } | ||||
|   }, | ||||
|  | ||||
|   watch: { | ||||
|     config: { | ||||
|       handler (v) { | ||||
|         this.data = v[v.dataType] | ||||
|       }, | ||||
|       deep: true, | ||||
|       immediate: true | ||||
|     } | ||||
|   }, | ||||
|  | ||||
|   created() { | ||||
|     this.data = this.config[this.config.dataType] | ||||
|  | ||||
|   } | ||||
| } | ||||
| </script> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user