From 7b1cbf4d740959d3e7860b646463e8585c08fe94 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 09 三月 2025 11:39:00 +0800
Subject: [PATCH] Merge branch 'master' into dms

---
 src/views/appmanage/submutilform/index.jsx |   30 +++++++++++++++++++++++++++++-
 1 files changed, 29 insertions(+), 1 deletions(-)

diff --git a/src/views/appmanage/submutilform/index.jsx b/src/views/appmanage/submutilform/index.jsx
index f6c26a1..9a4893e 100644
--- a/src/views/appmanage/submutilform/index.jsx
+++ b/src/views/appmanage/submutilform/index.jsx
@@ -7,6 +7,7 @@
 import asyncComponent from '@/utils/asyncComponent'
 import './index.scss'
 
+const { TextArea } = Input
 const ColorSketch = asyncComponent(() => import('@/mob/colorsketch'))
 const SourceComponent = asyncComponent(() => import('@/menu/components/share/sourcecomponent'))
 
@@ -213,6 +214,12 @@
             }>
               {getFieldDecorator('app_name', {
                 initialValue: card ? card.app_name || selectApp.remark || '' : selectApp.remark || '',
+                rules: [
+                  {
+                    pattern: /^[^']+$/,
+                    message: '涓嶅彲浣跨敤鑻辨枃鍗曞紩鍙�'
+                  }
+                ]
               })(<Input placeholder="" autoComplete="off" onPressEnter={this.handleSubmit} />)}
             </Form.Item>
           </Col>
@@ -312,7 +319,13 @@
                 rules: exts.includes('share') ? [{
                   required: true,
                   message: '璇峰~鍐欐爣棰�!'
-                }] : []
+                }, {
+                  pattern: /^[^']+$/,
+                  message: '涓嶅彲浣跨敤鑻辨枃鍗曞紩鍙�'
+                }] : [{
+                  pattern: /^[^']+$/,
+                  message: '涓嶅彲浣跨敤鑻辨枃鍗曞紩鍙�'
+                }]
               })(<Input placeholder="" autoComplete="off" onPressEnter={this.handleSubmit} />)}
             </Form.Item>
           </Col>
@@ -469,6 +482,21 @@
               )}
             </Form.Item>
           </Col> : null}
+          <Col span={24}>
+            <Form.Item label="澶囨敞">
+              {getFieldDecorator('link_remark', {
+                initialValue: card ? card.link_remark || '' : '',
+                rules: [
+                  {
+                    pattern: /^[^']+$/,
+                    message: '涓嶅彲浣跨敤鑻辨枃鍗曞紩鍙�'
+                  }
+                ]
+              })(
+                <TextArea placeholder="" rows={2}/>
+              )}
+            </Form.Item>
+          </Col>
         </Row>
       </Form>
     )

--
Gitblit v1.8.0