Browse Source

Merge remote-tracking branch 'origin/master'

liaoyongfei 4 years ago
parent
commit
0d38ae9d8f
2 changed files with 3 additions and 3 deletions
  1. 2 2
      UI/src/components/Form/BirdForm.js
  2. 1 1
      UI/src/pages/ymall/Doctor.js

+ 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() {