This commit is contained in:
21
docs/权限按钮.md
Normal file
21
docs/权限按钮.md
Normal file
@@ -0,0 +1,21 @@
|
||||
/api/auth/login 登录接口返回了权限按钮
|
||||
user:{
|
||||
"id": 144,
|
||||
"username": "MLLxp",
|
||||
"phone": "15571055000",
|
||||
"user_type": 3,
|
||||
"user_type_name": "代理账号",
|
||||
"shop_id": 1
|
||||
},
|
||||
|
||||
"buttons": [
|
||||
"device:clear_series",
|
||||
]
|
||||
|
||||
这个地方有返回按钮的权限
|
||||
|
||||
<!-- IoT卡操作按钮 -->
|
||||
|
||||
<!-- 设备操作按钮 -->
|
||||
|
||||
资产列表里面要加这个权限编码,然后判断按钮是否显示
|
||||
Reference in New Issue
Block a user