【更新】更改用户选择框组件数据问题,修改模板格式(生成代码无黄波浪警告)

This commit is contained in:
小诺 2021-03-23 13:09:45 +08:00 committed by 小诺
parent 778fafb2da
commit 69493bc7f7
3 changed files with 21 additions and 21 deletions

View File

@ -57,7 +57,7 @@ export default {
this.userFetching = true
getUserPage(params).then((res) => {
this.data = res.rows.map(user => ({
this.data = res.data.rows.map(user => ({
text: `${user.name} ${user.account}`,
value: user.id
}))