fix year change no clear tabel
This commit is contained in:
parent
2adb5a5c96
commit
5d536fdcad
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user