From 21167ece56edd628e6f6546d1d642947cc3a048f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 12 八月 2024 22:17:33 +0800
Subject: [PATCH] 2024-08-12

---
 src/templates/sharecomponent/chartcomponent/chartcompile/index.jsx |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/src/templates/sharecomponent/chartcomponent/chartcompile/index.jsx b/src/templates/sharecomponent/chartcomponent/chartcompile/index.jsx
index 92dcaab..be87511 100644
--- a/src/templates/sharecomponent/chartcomponent/chartcompile/index.jsx
+++ b/src/templates/sharecomponent/chartcomponent/chartcompile/index.jsx
@@ -4,13 +4,12 @@
 import { Drawer, Form, Button, Col, Row, Select, Radio, Tooltip, Input, InputNumber, Cascader } from 'antd'
 import { QuestionCircleOutlined, RightOutlined, EditOutlined, LeftOutlined } from '@ant-design/icons'
 
-import { getChartOptionForm } from '@/templates/zshare/formconfig'
+import { getChartOptionForm } from './formconfig'
 import { minkeColorSystem, colorTransform } from '@/utils/option.js'
 import './index.scss'
 
 class LineChartDrawerForm extends Component {
   static propTpyes = {
-    dict: PropTypes.object,
     plot: PropTypes.object,
     config: PropTypes.object,
     plotchange: PropTypes.func
@@ -139,7 +138,7 @@
                 rules: [
                   {
                     required: !!item.required,
-                    message: this.props.dict['form.required.input'] + item.label + '!'
+                    message: '璇疯緭鍏�' + item.label + '!'
                   }
                 ]
               })(<Input placeholder="" autoComplete="off" disabled={item.readonly}/>)}
@@ -160,7 +159,7 @@
                 rules: [
                   {
                     required: !!item.required,
-                    message: this.props.dict['form.required.input'] + item.label + '!'
+                    message: '璇疯緭鍏�' + item.label + '!'
                   }
                 ]
               })(<InputNumber min={item.min} max={item.max} precision={item.decimal} />)}
@@ -181,7 +180,7 @@
                 rules: [
                   {
                     required: !!item.required,
-                    message: this.props.dict['form.required.select'] + item.label + '!'
+                    message: '璇烽�夋嫨' + item.label + '!'
                   }
                 ]
               })(
@@ -210,7 +209,7 @@
                 rules: [
                   {
                     required: !!item.required,
-                    message: this.props.dict['form.required.select'] + item.label + '!'
+                    message: '璇烽�夋嫨' + item.label + '!'
                   }
                 ]
               })(
@@ -261,7 +260,7 @@
             rules: [
               {
                 required: enabled === 'true',
-                message: this.props.dict['form.required.select'] + '褰㈢姸!'
+                message: '璇烽�夋嫨褰㈢姸!'
               }
             ]
           })(
@@ -281,7 +280,7 @@
             rules: [
               {
                 required: enabled === 'true',
-                message: this.props.dict['form.required.select'] + '棰滆壊!'
+                message: '璇烽�夋嫨棰滆壊!'
               }
             ]
           })(

--
Gitblit v1.8.0