Commit 14aab905 by Zheng Jie

[代码完善](master): 修改角色时将角色的菜单临时清空,避免日志入库数据过长

close https://github.com/elunez/eladmin/issues/609
parent effcc156
......@@ -187,6 +187,8 @@ export default {
form.depts.forEach(function(dept) {
_this.deptDatas.push(dept.id)
})
// 将角色的菜单清空,避免日志入库数据过长
form.menus = null
},
// 提交前做的操作
[CRUD.HOOK.afterValidateCU](crud) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment