fix: (接口定义) 解决在回收站中,Case切换到Api时未显示回收站内容问题 (#1271)

This commit is contained in:
Coooder-X 2021-01-27 19:20:45 +08:00 committed by GitHub
parent 6d664448dc
commit 00a382b736
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -274,7 +274,12 @@
},
},
created: function () {
if (this.trashEnable) {
this.condition.filters = {status: ["Trash"]};
}
else {
this.condition.filters = {status: ["Prepare", "Underway", "Completed"]};
}
this.initTable();
this.getMaintainerOptions();
},