fix(接口定义): 修复文档筛选不生效的问题
--bug=1016793 --user=王孝刚 【接口测试】接口定义-API-按版本筛选-切换到文档,没进行筛选 https://www.tapd.cn/55049933/s/1254476
This commit is contained in:
parent
e0bd5dc384
commit
400f52ce1c
|
@ -217,6 +217,9 @@ export default {
|
||||||
trashEnable() {
|
trashEnable() {
|
||||||
this.initApiDocSimpleList();
|
this.initApiDocSimpleList();
|
||||||
},
|
},
|
||||||
|
versionId() {
|
||||||
|
this.initApiDocSimpleList();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
changeFixed(clientHeight) {
|
changeFixed(clientHeight) {
|
||||||
|
|
|
@ -31,21 +31,6 @@ export default {
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
created: function () {
|
|
||||||
},
|
|
||||||
watch: {
|
|
||||||
versionId() {
|
|
||||||
this.initApiDocSimpleList();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
computed: {},
|
|
||||||
methods: {
|
|
||||||
initApiDocSimpleList() {
|
|
||||||
this.condition.versionId = this.versionId;
|
|
||||||
Object.assign(this.$refs.documentAnchor.apiSearch, this.condition);
|
|
||||||
this.$refs.documentAnchor.initApiDocSimpleList();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue