fix year change no clear tabel

This commit is contained in:
jiegeaiai 2025-02-19 11:05:11 +08:00
parent 2adb5a5c96
commit 5d536fdcad

View File

@ -236,6 +236,9 @@ export default {
} }
}, },
handleChangeYear() { handleChangeYear() {
//
this.tasks = [];
try { try {
webrtc.webrtc.emitUIInter({ webrtc.webrtc.emitUIInter({
command: "LoadScenarioTask", command: "LoadScenarioTask",
@ -252,6 +255,7 @@ export default {
label: task label: task
})); }));
//
if (this.taskList.length > 0) { if (this.taskList.length > 0) {
this.taskName = this.taskList[0].value; this.taskName = this.taskList[0].value;
} else { } else {