From b6cbfb08b51e87e6eac995be8e7751815715e6a1 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 29 三月 2022 15:36:21 +0800
Subject: [PATCH] 2022-03-29

---
 src/menu/components/share/actioncomponent/actionform/index.jsx |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/menu/components/share/actioncomponent/actionform/index.jsx b/src/menu/components/share/actioncomponent/actionform/index.jsx
index 8eaa6b3..55184da 100644
--- a/src/menu/components/share/actioncomponent/actionform/index.jsx
+++ b/src/menu/components/share/actioncomponent/actionform/index.jsx
@@ -358,6 +358,9 @@
         if (this.record.control) {
           shows.push('controlField', 'controlVal')
         }
+        if (this.record.control === 'disabled') {
+          shows.push('reason')
+        }
       }
     } else {
       if (Ot !== 'notRequired') {
@@ -382,6 +385,9 @@
       if (this.record.control) {
         shows.push('controlField', 'controlVal')
       }
+      if (this.record.control === 'disabled') {
+        shows.push('reason')
+      }
     }
 
     if (this.record.show === 'icon') {

--
Gitblit v1.8.0