fix: 修复source和entity setting列表搜索框参数不对的问题
This commit is contained in:
@@ -107,7 +107,10 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
search (params) {
|
search (params) {
|
||||||
this.name = params.q
|
this.name = params.q
|
||||||
params = { name: this.name }
|
params = { ids: this.name }
|
||||||
|
if (!params.ids) {
|
||||||
|
delete params.ids
|
||||||
|
}
|
||||||
this.pageObj.pageNo = 1
|
this.pageObj.pageNo = 1
|
||||||
this.getTableData(params)
|
this.getTableData(params)
|
||||||
this.$refs.dataTable.expandedIds = []
|
this.$refs.dataTable.expandedIds = []
|
||||||
|
|||||||
@@ -106,7 +106,10 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
search (params) {
|
search (params) {
|
||||||
this.name = params.q
|
this.name = params.q
|
||||||
params = { name: this.name }
|
params = { ids: this.name }
|
||||||
|
if (!params.ids) {
|
||||||
|
delete params.ids
|
||||||
|
}
|
||||||
this.pageObj.pageNo = 1
|
this.pageObj.pageNo = 1
|
||||||
this.getTableData(params)
|
this.getTableData(params)
|
||||||
this.$refs.dataTable.expandedIds = []
|
this.$refs.dataTable.expandedIds = []
|
||||||
|
|||||||
Reference in New Issue
Block a user