fix(接口定义): 修复文档筛选不生效的问题
--bug=1016793 --user=王孝刚 【接口测试】接口定义-API-按版本筛选-切换到文档,没进行筛选 https://www.tapd.cn/55049933/s/1254476
This commit is contained in:
parent
b0bfb58b3c
commit
ac9efae8ef
|
@ -236,6 +236,9 @@ export default {
|
|||
trashEnable() {
|
||||
this.initApiDocSimpleList();
|
||||
},
|
||||
versionId() {
|
||||
this.initApiDocSimpleList();
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
handleSizeChange(val) {
|
||||
|
|
|
@ -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