From 3f0f0b7e222cf0c159b6f646af7084ed4c29e409 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 26 八月 2023 10:46:52 +0800
Subject: [PATCH] 2023-08-26

---
 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