Ver código fonte

Merge remote-tracking branch 'origin/master'

liaoyongfei 4 anos atrás
pai
commit
0d38ae9d8f
2 arquivos alterados com 3 adições e 3 exclusões
  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() {