fix year change no clear tabel
This commit is contained in:
parent
2adb5a5c96
commit
5d536fdcad
@ -236,6 +236,9 @@ export default {
|
||||
}
|
||||
},
|
||||
handleChangeYear() {
|
||||
// 清空表格数据
|
||||
this.tasks = [];
|
||||
|
||||
try {
|
||||
webrtc.webrtc.emitUIInter({
|
||||
command: "LoadScenarioTask",
|
||||
@ -252,6 +255,7 @@ export default {
|
||||
label: task
|
||||
}));
|
||||
|
||||
// 设置默认选中的任务名称
|
||||
if (this.taskList.length > 0) {
|
||||
this.taskName = this.taskList[0].value;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user