mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-30 02:58:31 +08:00
fix(接口自动化): 修复点击模块不能正确更新场景列表的bug
This commit is contained in:
parent
4065663f55
commit
02a5eb9570
@ -87,7 +87,6 @@ export default {
|
||||
},
|
||||
selectModule(data) {
|
||||
this.currentModule = data;
|
||||
this.$refs.apiScenarioList.search(data);
|
||||
},
|
||||
saveScenario(data) {
|
||||
this.setTabLabel(data);
|
||||
|
@ -75,6 +75,14 @@ export default {
|
||||
total: 0,
|
||||
}
|
||||
},
|
||||
watch:{
|
||||
currentProject() {
|
||||
this.search();
|
||||
},
|
||||
currentModule() {
|
||||
this.search();
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
search() {
|
||||
this.condition.filters = ["Saved", "Success", "Fail"];
|
||||
|
Loading…
Reference in New Issue
Block a user