From 1795b3d924b95da49cf22003f4a4f8ffaa2dbda3 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 31 八月 2023 22:34:42 +0800
Subject: [PATCH] Merge branch 'master' into positec

---
 src/views/menudesign/menuform/index.jsx |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/src/views/menudesign/menuform/index.jsx b/src/views/menudesign/menuform/index.jsx
index 0a0e3ba..235f6b1 100644
--- a/src/views/menudesign/menuform/index.jsx
+++ b/src/views/menudesign/menuform/index.jsx
@@ -25,11 +25,15 @@
   }
 
   UNSAFE_componentWillMount () {
+    const { config } = this.props
+
     if (sessionStorage.getItem('thdMenuList') && sessionStorage.getItem('fstMenuList')) {
       this.setMenus()
     } else {
       this.getMenus()
     }
+
+    window.GLOB.process = config.process === 'true'
   }
 
   setMenus = () => {
@@ -196,6 +200,8 @@
         if (typeof(value) !== 'number') {
           value = ''
         }
+      } else if (key === 'process') {
+        window.GLOB.process = value === 'true'
       }
       this.props.updateConfig({...config, [key]: value})
     }
@@ -396,6 +402,23 @@
           </Col> : null}
           <Col span={24}>
             <Form.Item label={
+              <Tooltip placement="topLeft" title="寮�鍚悗鍙湪鎸夐挳鍙婃暟鎹簮璁剧疆娴佺▼鍙傛暟銆�">
+                <QuestionCircleOutlined className="mk-form-tip" />
+                宸ヤ綔娴�
+              </Tooltip>
+            }>
+              {getFieldDecorator('process', {
+                initialValue: config.process || 'false'
+              })(
+                <Radio.Group onChange={(e) => {this.selectChange('process', e.target.value)}}>
+                  <Radio value="true">浣跨敤</Radio>
+                  <Radio value="false">涓嶄娇鐢�</Radio>
+                </Radio.Group>
+              )}
+            </Form.Item>
+          </Col>
+          <Col span={24}>
+            <Form.Item label={
               <Tooltip placement="topLeft" title="鏁版嵁鍔犺浇鏃剁殑閬僵鏄惁鏄剧ず銆�">
                 <QuestionCircleOutlined className="mk-form-tip" />
                 鍔犺浇閬僵

--
Gitblit v1.8.0