Permalink
Browse files

fix: pro-IUAPDESIGN-95:友云采:内容区点击之后第一次选中,第二次取消选中

  • Loading branch information...
1 parent 1d6e2e7 commit b42059aecda19dd1e44bd0d7d00598727978dcc7 liuyk committed Oct 24, 2016
Showing with 11 additions and 7 deletions.
  1. +4 −2 dist/js/u-grid.js
  2. +4 −4 dist/js/u-grid.min.js
  3. +3 −1 js/gridCompInit.js
View
@@ -1,5 +1,5 @@
/**
- * tinper-neoui-grid v3.1.1
+ * tinper-neoui-grid v3.1.2
* grid
* author : yonyou FED
* homepage : https://github.com/iuap-design/tinper-neoui-grid#readme
@@ -2682,6 +2682,7 @@
this.options.needTreeSort = this.getBoolean(this.options.needTreeSort);
this.options.needLocalStorage = this.getBoolean(this.options.needLocalStorage);
this.options.noScroll = this.getBoolean(this.options.noScroll);
+ this.options.cancelSelect = this.getBoolean(this.options.cancelSelect);
};
/*
* 初始化默认参数
@@ -2690,7 +2691,8 @@
this.defaults = {
id: new Date().valueOf(),
editType: 'default',
- cancelFocus: false, // 第二次点击是否取消focus
+ cancelFocus: true, // 第二次点击是否取消focus
+ cancelSelect: true, // 第二次点击是否取消select
showHeader: true, // 是否显示表头
showNumCol: false, // 是否显示数字列
multiSelect: false, // 是否显示复选框
Oops, something went wrong.

0 comments on commit b42059a

Please sign in to comment.