Permalink
Browse files

fix: 只有editType为from的情况下才会滚动时关闭编辑

  • Loading branch information...
liuyk
liuyk committed Nov 8, 2016
1 parent 1fe2a0b commit 3da16619071e35960116d1b308e5b57f3350fcda
Showing with 3 additions and 1 deletion.
  1. +3 −1 js/re_gridCompEdit.js
View
@@ -474,7 +474,9 @@ const edit_initEventFun = function(){
});
u.on(document,'scroll',function(){
- oThis.editClose();
+ if(oThis.options.editType == 'default'){
+ oThis.editClose();
+ }
})
};
const setGridEditType = function(newEditType){

0 comments on commit 3da1661

Please sign in to comment.