Commit 729e6680 authored by miaojiale's avatar miaojiale

优化

parent f324da0d
...@@ -166,6 +166,7 @@ export default { ...@@ -166,6 +166,7 @@ export default {
getUserPage({ groupId: this.groupId, current: 1, size: 1000 }).then( getUserPage({ groupId: this.groupId, current: 1, size: 1000 }).then(
(res) => { (res) => {
if (res.code === 1) { if (res.code === 1) {
this.$refs.dialog.open()
const d = res.data const d = res.data
d.records && d.records &&
d.records.forEach((item) => { d.records.forEach((item) => {
...@@ -175,7 +176,8 @@ export default { ...@@ -175,7 +176,8 @@ export default {
}) })
}) })
this.formData[0].opts = userList this.formData[0].opts = userList
this.$refs.dialog.open() this.searchList[2].loading = false
} else {
this.searchList[2].loading = false this.searchList[2].loading = false
} }
} }
......
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