Commit 5e069882 authored by “yiyousong”'s avatar “yiyousong”

fix:修复接口管理不能模糊搜索

parent 8b8b7b74
...@@ -163,7 +163,7 @@ export default { ...@@ -163,7 +163,7 @@ export default {
}, },
], ],
query: { query: {
interfaceName: undefined, interfaceName: "",
interfaceSource: "", interfaceSource: "",
interfaceTag: "", interfaceTag: "",
productId: this.$route.query.id, productId: this.$route.query.id,
...@@ -188,6 +188,7 @@ export default { ...@@ -188,6 +188,7 @@ export default {
page: this.tablePagination.current, page: this.tablePagination.current,
size: this.tablePagination.pageSize, size: this.tablePagination.pageSize,
...this.query, ...this.query,
interfaceName: `%${this.query.interfaceName}%`,
}).then((res) => { }).then((res) => {
if (res.code == 1) { if (res.code == 1) {
let { data, total, dict } = res.data; let { data, total, dict } = res.data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment