From f448bd7b318f7696c97b392a263bc364700bc8a0 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 09 六月 2020 15:54:45 +0800
Subject: [PATCH] 2020-06-09

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

diff --git a/src/templates/zshare/modalform/index.jsx b/src/templates/zshare/modalform/index.jsx
index 9efb4c7..aeb4ea4 100644
--- a/src/templates/zshare/modalform/index.jsx
+++ b/src/templates/zshare/modalform/index.jsx
@@ -250,6 +250,14 @@
         _options = [..._options, 'dataSource', 'valueField', 'valueText', 'orderBy', 'orderType', 'database']
       }
 
+      if (openType !== 'funcvar' && openType !== 'linkMain') {
+        if (this.state.supField) {
+          _options.push('supField', 'supvalue')
+        } else {
+          _options.push('supField')
+        }
+      }
+
       this.setState({
         resourceType: value,
         formlist: this.state.formlist.map(form => {

--
Gitblit v1.8.0