From 9855c86aa6b84bb1c6c366cf68e0dee45402fe6f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 27 八月 2023 17:41:12 +0800
Subject: [PATCH] Merge branch 'master' into positec

---
 src/templates/zshare/modalform/index.jsx |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/templates/zshare/modalform/index.jsx b/src/templates/zshare/modalform/index.jsx
index c6c2a7b..3aaa932 100644
--- a/src/templates/zshare/modalform/index.jsx
+++ b/src/templates/zshare/modalform/index.jsx
@@ -416,6 +416,8 @@
           this.record.resourceType = '0'
           _fieldval.resourceType = '0'
         }
+      } else if (this.record.type === 'funcvar' && value !== 'funcvar') {
+        this.record.readonly = 'false'
       }
 
       if (this.record.options.length > 0) {

--
Gitblit v1.8.0