[代码完善](master): 修改角色时将角色的菜单临时清空,避免日志入库数据过长
close https://github.com/elunez/eladmin/issues/609
This commit is contained in:
@@ -187,6 +187,8 @@ export default {
|
|||||||
form.depts.forEach(function(dept) {
|
form.depts.forEach(function(dept) {
|
||||||
_this.deptDatas.push(dept.id)
|
_this.deptDatas.push(dept.id)
|
||||||
})
|
})
|
||||||
|
// 将角色的菜单清空,避免日志入库数据过长
|
||||||
|
form.menus = null
|
||||||
},
|
},
|
||||||
// 提交前做的操作
|
// 提交前做的操作
|
||||||
[CRUD.HOOK.afterValidateCU](crud) {
|
[CRUD.HOOK.afterValidateCU](crud) {
|
||||||
|
|||||||
Reference in New Issue
Block a user