调度命令代码调整

This commit is contained in:
dong 2022-07-07 16:32:18 +08:00
parent 22e4935310
commit 8cd5789bae

View File

@ -447,9 +447,9 @@ export default {
const tableArr = ['table1', 'table2', 'table3', 'table4'];
tableArr.forEach(key => {
if (key != refName) {
this.$refs[key].setCurrentRow();
this.$refs[key] && this.$refs[key].setCurrentRow();
} else {
this.$refs[key].setCurrentRow(obj);
this.$refs[key] && this.$refs[key].setCurrentRow(obj);
}
});
},
@ -535,7 +535,7 @@ export default {
allSigned: ''
};
this.currentInfo = {};
this.$refs.table.clearSelection();
this.$refs.table && this.$refs.table.clearSelection();
this.setCurrentRow();
},
senderChange(memberId) {