fix: 修复source和entity setting列表搜索框参数不对的问题

This commit is contained in:
刘洪洪
2024-11-19 09:54:08 +08:00
parent c9cedc3fb6
commit e3e293bd16
2 changed files with 8 additions and 2 deletions

View File

@@ -107,7 +107,10 @@ export default {
methods: {
search (params) {
this.name = params.q
params = { name: this.name }
params = { ids: this.name }
if (!params.ids) {
delete params.ids
}
this.pageObj.pageNo = 1
this.getTableData(params)
this.$refs.dataTable.expandedIds = []

View File

@@ -106,7 +106,10 @@ export default {
methods: {
search (params) {
this.name = params.q
params = { name: this.name }
params = { ids: this.name }
if (!params.ids) {
delete params.ids
}
this.pageObj.pageNo = 1
this.getTableData(params)
this.$refs.dataTable.expandedIds = []