1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

user表role改为role_id;后台管理用户增删改查封装成component

This commit is contained in:
2023-03-28 22:13:59 +08:00
parent 880e4f8941
commit cf962a92da
33 changed files with 865 additions and 281 deletions

View File

@@ -32,7 +32,7 @@ Page({
return
} else {
// 用户已登录
let userGroup = getUserGroupByRole(userInfo.role)
let userGroup = getUserGroupByRole(userInfo.roleId)
this.setData({
debugText: JSON.stringify(options, null, 4),
userInfo: userInfo,