【更新】更改用户选择框组件数据问题,修改模板格式(生成代码无黄波浪警告)
This commit is contained in:
parent
778fafb2da
commit
69493bc7f7
@ -57,7 +57,7 @@ export default {
|
|||||||
this.userFetching = true
|
this.userFetching = true
|
||||||
|
|
||||||
getUserPage(params).then((res) => {
|
getUserPage(params).then((res) => {
|
||||||
this.data = res.rows.map(user => ({
|
this.data = res.data.rows.map(user => ({
|
||||||
text: `${user.name} ${user.account}`,
|
text: `${user.name} ${user.account}`,
|
||||||
value: user.id
|
value: user.id
|
||||||
}))
|
}))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user