From 549ed2a916e401dd43dbefdf7a838e5d21002a74 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期一, 14 七月 2025 10:58:19 +0800 Subject: [PATCH] 新增销售台账时(未保存),点击编辑数量后,会多生成一条记录 --- src/directive/permission/hasRole.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/directive/permission/hasRole.js b/src/directive/permission/hasRole.js index 0c34791..2f1bb90 100644 --- a/src/directive/permission/hasRole.js +++ b/src/directive/permission/hasRole.js @@ -8,7 +8,7 @@ export default { mounted(el, binding, vnode) { const { value } = binding - const super_admin = "admin"; + const super_admin = "admin" const roles = useUserStore().roles if (value && value instanceof Array && value.length > 0) { -- Gitblit v1.9.3