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() {
|
||||
this.initApiDocSimpleList();
|
||||
},
|
||||
versionId() {
|
||||
this.initApiDocSimpleList();
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
changeFixed(clientHeight) {
|
||||
|
|
|
@ -31,21 +31,6 @@ export default {
|
|||
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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue