|
@ -136,11 +136,6 @@ export default { |
|
|
// 将角色的菜单清空,避免日志入库数据过长 |
|
|
// 将角色的菜单清空,避免日志入库数据过长 |
|
|
form.dictDetails = null |
|
|
form.dictDetails = null |
|
|
}, |
|
|
}, |
|
|
// 编辑前将字典明细临时清空,避免日志入库数据过长 |
|
|
|
|
|
[CRUD.HOOK.beforeToEdit](crud, form) { |
|
|
|
|
|
// 将角色的菜单清空,避免日志入库数据过长 |
|
|
|
|
|
form.dictDetails = null |
|
|
|
|
|
}, |
|
|
|
|
|
updateKeyChildren(data) { |
|
|
updateKeyChildren(data) { |
|
|
const oldDatas = this.$refs.tree.getCurrentNode().childMenus |
|
|
const oldDatas = this.$refs.tree.getCurrentNode().childMenus |
|
|
if (oldDatas) { |
|
|
if (oldDatas) { |
|
|