Permalink
Browse files

fix: form情况下按照showFix展示

  • Loading branch information...
1 parent fd5685d commit 986f72f2a6beaa22fae5a4e575fa21a1495442a7 liuyk committed Dec 9, 2016
Showing with 23 additions and 22 deletions.
  1. +23 −22 js/component/keroa-grid.js
@@ -170,30 +170,31 @@ var GridAdapter = BaseAdapter.extend({
comp.modelValueChange(obj.value);
obj.gridObj.editComp = comp;
- if(obj.gridObj.options.editType == 'form'){
- //form默认为false
- try{
- comp.options.showFix = false;
- }catch(e){
-
- }
- try{
- comp.comp.options.showFix = false;
- }catch(e){
+ // form也按照showFix为true处理,如果有问题则调整组件显示
+ // if(obj.gridObj.options.editType == 'form'){
+ // //form默认为false
+ // try{
+ // comp.options.showFix = false;
+ // }catch(e){
+
+ // }
+ // try{
+ // comp.comp.options.showFix = false;
+ // }catch(e){
- }
- }else{
- try{
- comp.options.showFix = true;
- }catch(e){
-
- }
- try{
- comp.comp.options.showFix = true;
- }catch(e){
+ // }
+ // }else{
+ // try{
+ // comp.options.showFix = true;
+ // }catch(e){
+
+ // }
+ // try{
+ // comp.comp.options.showFix = true;
+ // }catch(e){
- }
- }
+ // }
+ // }
// 根据惊道需求增加editype之后的处理,此处只针对grid.js中的默认eType进行处理,非默认通过eType进行处理
if(typeof afterEType == 'function'){

0 comments on commit 986f72f

Please sign in to comment.