From 14aab905e0f1818df3487c0a6b005ed7ade228ec Mon Sep 17 00:00:00 2001 From: Zheng Jie <201507802@qq.com> Date: Mon, 7 Jun 2021 15:38:07 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BB=A3=E7=A0=81=E5=AE=8C=E5=96=84](master):?= =?UTF-8?q?=20=E4=BF=AE=E6=94=B9=E8=A7=92=E8=89=B2=E6=97=B6=E5=B0=86?= =?UTF-8?q?=E8=A7=92=E8=89=B2=E7=9A=84=E8=8F=9C=E5=8D=95=E4=B8=B4=E6=97=B6?= =?UTF-8?q?=E6=B8=85=E7=A9=BA=EF=BC=8C=E9=81=BF=E5=85=8D=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E5=85=A5=E5=BA=93=E6=95=B0=E6=8D=AE=E8=BF=87=E9=95=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close https://github.com/elunez/eladmin/issues/609 --- src/views/system/role/index.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index 467a37f..242ed1a 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -187,6 +187,8 @@ export default { form.depts.forEach(function(dept) { _this.deptDatas.push(dept.id) }) + // 将角色的菜单清空,避免日志入库数据过长 + form.menus = null }, // 提交前做的操作 [CRUD.HOOK.afterValidateCU](crud) {