更换正式环境,测试修改
This commit is contained in:
@@ -160,7 +160,7 @@
|
||||
function getShopStaffDetail(id) {
|
||||
shopStaffDetail({id:id}).then(res => {
|
||||
Object.assign(datas.formData, res)
|
||||
if (datas.rolesList) {
|
||||
if (datas.rolesList&&datas.rolesList.length>0) {
|
||||
let rolefilter = datas.rolesList.filter(ele => ele.id == res.roleId)
|
||||
datas.rolesdata = rolefilter[0].name
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user