fix(场景自动化): 修复导入场景时列表数据显示错误的问题
This commit is contained in:
parent
f13746e655
commit
c99e59a044
|
@ -218,6 +218,10 @@
|
|||
default: false,
|
||||
},
|
||||
selectNodeIds: Array,
|
||||
selectProjectId: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
trashEnable: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
|
@ -342,7 +346,7 @@
|
|||
},
|
||||
watch: {
|
||||
selectNodeIds() {
|
||||
this.search();
|
||||
this.selectProjectId ? this.search(this.selectProjectId) : this.search();
|
||||
},
|
||||
trashEnable() {
|
||||
if (this.trashEnable) {
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
<ms-api-scenario-list
|
||||
:select-node-ids="selectNodeIds"
|
||||
:select-project-id="projectId"
|
||||
:referenced="true"
|
||||
:trash-enable="false"
|
||||
@selection="setData"
|
||||
|
@ -131,6 +132,7 @@
|
|||
},
|
||||
setProject(projectId) {
|
||||
this.projectId = projectId;
|
||||
this.selectNodeIds = [];
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue