From e8edfdadb561cd83bf6e1c3e00d55b8cc2aee6d5 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 17 十月 2022 17:57:34 +0800
Subject: [PATCH] 2022-10-17

---
 src/templates/calendarconfig/calcomponent/calendarform/index.jsx |   21 ++++++++++-----------
 1 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/src/templates/calendarconfig/calcomponent/calendarform/index.jsx b/src/templates/calendarconfig/calcomponent/calendarform/index.jsx
index 6ee2fa0..2d1f32a 100644
--- a/src/templates/calendarconfig/calcomponent/calendarform/index.jsx
+++ b/src/templates/calendarconfig/calcomponent/calendarform/index.jsx
@@ -7,7 +7,6 @@
 class MainTab extends Component {
   static propTpyes = {
     config: PropTypes.object,    // 椤甸潰閰嶇疆
-    dict: PropTypes.object,      // 瀛楀吀椤�
     calendar: PropTypes.any      // 鏃ュ巻閰嶇疆淇℃伅
   }
 
@@ -41,13 +40,13 @@
       <Form {...formItemLayout}>
         <Row gutter={24}>
           <Col span={24}>
-            <Form.Item label={'寮�濮嬫椂闂�'}>
+            <Form.Item label="寮�濮嬫椂闂�">
               {getFieldDecorator('startfield', {
                 initialValue: calendar.startfield,
                 rules: [
                   {
                     required: true,
-                    message: this.props.dict['form.required.select'] + '寮�濮嬫椂闂�!'
+                    message: '璇烽�夋嫨寮�濮嬫椂闂�!'
                   }
                 ]
               })(
@@ -60,13 +59,13 @@
             </Form.Item>
           </Col>
           <Col span={24}>
-            <Form.Item label={'缁撴潫鏃堕棿'}>
+            <Form.Item label="缁撴潫鏃堕棿">
               {getFieldDecorator('endfield', {
                 initialValue: calendar.endfield,
                 rules: [
                   {
                     required: true,
-                    message: this.props.dict['form.required.select'] + '缁撴潫鏃堕棿!'
+                    message: '璇烽�夋嫨缁撴潫鏃堕棿!'
                   }
                 ]
               })(
@@ -79,13 +78,13 @@
             </Form.Item>
           </Col>
           <Col span={24}>
-            <Form.Item label={'淇℃伅瀛楁'}>
+            <Form.Item label="淇℃伅瀛楁">
               {getFieldDecorator('remarkfield', {
                 initialValue: calendar.remarkfield,
                 rules: [
                   {
                     required: true,
-                    message: this.props.dict['form.required.select'] + '淇℃伅瀛楁!'
+                    message: '璇烽�夋嫨淇℃伅瀛楁!'
                   }
                 ]
               })(
@@ -98,13 +97,13 @@
             </Form.Item>
           </Col>
           <Col span={24}>
-            <Form.Item label={'棰滆壊瀛楁'}>
+            <Form.Item label="棰滆壊瀛楁">
               {getFieldDecorator('colorfield', {
                 initialValue: calendar.colorfield,
                 rules: [
                   {
                     required: false,
-                    message: this.props.dict['form.required.select'] + '棰滆壊瀛楁!'
+                    message: '璇烽�夋嫨棰滆壊瀛楁!'
                   }
                 ]
               })(
@@ -117,13 +116,13 @@
             </Form.Item>
           </Col>
           <Col span={24}>
-            <Form.Item label={'鏃ュ巻绛夌骇'}>
+            <Form.Item label="鏃ュ巻绛夌骇">
               {getFieldDecorator('levels', {
                 initialValue: calendar.levels,
                 rules: [
                   {
                     required: true,
-                    message: this.props.dict['form.required.select'] + '鏃ュ巻绛夌骇!'
+                    message: '璇烽�夋嫨鏃ュ巻绛夌骇!'
                   }
                 ]
               })(

--
Gitblit v1.8.0