Kaynağa Gözat

Merge remote-tracking branch 'origin/master'

liaoyongfei 4 yıl önce
ebeveyn
işleme
0d38ae9d8f

+ 2 - 2
UI/src/components/Form/BirdForm.js

@@ -180,9 +180,9 @@ class BirdForm extends React.Component {
     return true;
   }
 
-  save() {
+  save(verifyNotFalg) {
     let self = this;
-    if (!self.validate()) return;
+    if (!verifyNotFalg && !self.validate()) return;
 
     let dto = self.getResult();
     request({

+ 1 - 1
UI/src/pages/ymall/Doctor.js

@@ -553,7 +553,7 @@ class Doctor extends React.Component {
         this.setState({
             checkMsgVisible: false
         })
-        this.refs.checkForm.save();
+        this.refs.checkForm.save(true);
     }
 
     render() {