Browse Source

chilForm赋值报错

zhuth 7 years ago
parent
commit
daf0d08d16
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frontend/saas-web/app/view/document/kind/ChildForm.js

+ 1 - 1
frontend/saas-web/app/view/document/kind/ChildForm.js

@@ -271,7 +271,7 @@ Ext.define('KitchenSink.view.binding.ChildForm', {
                 }
                 }
                 if(combo){
                 if(combo){
                     combo.store.load(function() {
                     combo.store.load(function() {
-                        combo.setValue(params._value);
+                        typeof combo.setValue == 'function' && combo.setValue(params._value);
                     });
                     });
                 }
                 }
                 form.ownerCt.close();
                 form.ownerCt.close();