From c1b5d8b81d63555f6f0095aa823f07d99f80fe21 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期五, 11 四月 2025 18:22:49 +0800
Subject: [PATCH] git ch

---
 company/src/components/system/role/Permissions.vue |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/company/src/components/system/role/Permissions.vue b/company/src/components/system/role/Permissions.vue
index 5ec691e..d7bed0a 100644
--- a/company/src/components/system/role/Permissions.vue
+++ b/company/src/components/system/role/Permissions.vue
@@ -75,6 +75,8 @@
           let obj = JSON.parse(JSON.stringify(this.form))
           if (obj.customData.length > 0) {
             obj.customData = obj.customData.flat().join(',')
+          } else {
+            obj.customData = ''
           }
           createRoleDataPermission(obj)
             .then(() => {

--
Gitblit v1.9.3