瀏覽代碼

Merge remote-tracking branch 'origin/master'

liaoyongfei 4 年之前
父節點
當前提交
0d38ae9d8f
共有 2 個文件被更改,包括 3 次插入3 次删除
  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() {