From 58a28e1faa15f638a136fefdcfcd0b3106c1fa16 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 24 六月 2020 10:18:54 +0800
Subject: [PATCH] 2020-06-24

---
 src/components/header/resetpwd/index.jsx |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/components/header/resetpwd/index.jsx b/src/components/header/resetpwd/index.jsx
index c9b8567..ac9eaed 100644
--- a/src/components/header/resetpwd/index.jsx
+++ b/src/components/header/resetpwd/index.jsx
@@ -39,7 +39,7 @@
   compareToFirstPassword = (rule, value, callback) => {
     const { form } = this.props
     if (value && value !== form.getFieldValue('password')) {
-      callback(this.props.dict['header.password.diff'])
+      callback(this.props.dict['main.password.diff'])
     } else {
       callback()
     }
@@ -69,22 +69,22 @@
 
     return (
       <Form {...formItemLayout} onKeyDown={this.onEnterSubmit}>
-        <Form.Item label={this.props.dict['header.password.origin']}>
+        <Form.Item label={this.props.dict['main.password.origin']}>
           {getFieldDecorator('originpwd', {
             rules: [
               {
                 required: true,
-                message: this.props.dict['header.password.origin.required']
+                message: this.props.dict['main.password.origin.required']
               }
             ]
           })(<Input.Password />)}
         </Form.Item>
-        <Form.Item label={this.props.dict['header.password.new']} hasFeedback>
+        <Form.Item label={this.props.dict['main.password.new']} hasFeedback>
           {getFieldDecorator('password', {
             rules: [
               {
                 required: true,
-                message: this.props.dict['header.password.new.required']
+                message: this.props.dict['main.password.new.required']
               },
               {
                 pattern: /^[0-9a-zA-Z!@#$%^&*()_]*$/ig,
@@ -92,7 +92,7 @@
               },
               {
                 max: 50,
-                message: this.props.dict['header.password.maxlen']
+                message: this.props.dict['main.password.maxlen']
               },
               {
                 validator: this.validateToNextPassword
@@ -100,12 +100,12 @@
             ]
           })(<Input.Password />)}
         </Form.Item>
-        <Form.Item label={this.props.dict['header.password.confirm']} hasFeedback>
+        <Form.Item label={this.props.dict['main.password.confirm']} hasFeedback>
           {getFieldDecorator('confirm', {
             rules: [
               {
                 required: true,
-                message: this.props.dict['header.password.confirm.required']
+                message: this.props.dict['main.password.confirm.required']
               },
               {
                 validator: this.compareToFirstPassword

--
Gitblit v1.8.0