mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-09-04 16:30:55 +08:00
OLFBP-751user search by account name works
This commit is contained in:
parent
c3c5704195
commit
fbcf66a247
@ -85,7 +85,7 @@ export default {
|
|||||||
created() {
|
created() {
|
||||||
// Set the type for the query
|
// Set the type for the query
|
||||||
// this.listQuery.type = this.$route.meta.type
|
// this.listQuery.type = this.$route.meta.type
|
||||||
this.listQuery.platform = 'OLFDE'
|
this.listQuery.platform = this.$store.state.settings.platform
|
||||||
|
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
@ -100,7 +100,7 @@ export default {
|
|||||||
},
|
},
|
||||||
getRemoteAccountList(query) {
|
getRemoteAccountList(query) {
|
||||||
query = {}
|
query = {}
|
||||||
query.platform = 'OLFDE'
|
query.platform = this.$store.state.settings.platform
|
||||||
query.limit = 100
|
query.limit = 100
|
||||||
fetchAccountList(query).then(response => {
|
fetchAccountList(query).then(response => {
|
||||||
if (!response.data.docs) return
|
if (!response.data.docs) return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user