提交 a68436c9 authored 作者: lidongxu's avatar lidongxu

feat(promotion): 修改了用户同步到勤测系统权限

同上
上级 8edfc188
......@@ -732,6 +732,8 @@
}
// 促销权限 0 开 1 关
response.data.proStatus = response.data.proStatus == 1 || response.data.proStatus == undefined ? false : true;
// 后台空角色不知道为啥返回 0 不是 null
response.data.roleId = response.data.roleId == 0 ? null : response.data.roleId;
form.value = response.data;
postOptions.value = response.posts;
roleOptions.value = response.roles;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论