vue刷新页面后 watch监听表格绑定的数据 val:数据源
watch: {
dataTableDtLeft: function (val: any) {
this.$nextTick(() => {
(this.$refs.tableLeft as any).setCurrentRow(val[0]);
});
},
},
vue刷新页面后 watch监听表格绑定的数据 val:数据源
watch: {
dataTableDtLeft: function (val: any) {
this.$nextTick(() => {
(this.$refs.tableLeft as any).setCurrentRow(val[0]);
});
},
},