fix(接口定义): 修复文档筛选不生效的问题

--bug=1016793 --user=王孝刚 【接口测试】接口定义-API-按版本筛选-切换到文档,没进行筛选
https://www.tapd.cn/55049933/s/1254476
This commit is contained in:
wxg0103 2022-09-29 14:29:18 +08:00 committed by wxg0103
parent b0bfb58b3c
commit ac9efae8ef
2 changed files with 3 additions and 15 deletions

View File

@ -236,6 +236,9 @@ export default {
trashEnable() {
this.initApiDocSimpleList();
},
versionId() {
this.initApiDocSimpleList();
}
},
methods: {
handleSizeChange(val) {

View File

@ -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>