sone-ui-component-3.2.4 2.1.31 → 2.1.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sone-ui-component-3.2.4",
3
- "version": "2.1.31",
3
+ "version": "2.1.33",
4
4
  "private": false,
5
5
  "main": "lib/sone-ui.common.js",
6
6
  "files": [
@@ -7,11 +7,7 @@
7
7
  <el-dropdown-menu slot="dropdown">
8
8
  <div class="dropdown_box">
9
9
  <div class="dropdown_title">
10
- <el-checkbox
11
- v-model="columnsCheckAll"
12
- :indeterminate="isIndeterminate"
13
- @change="handleColumnsCheckListChange"
14
- >列展示</el-checkbox>
10
+ <el-checkbox v-model="columnsCheckAll" :indeterminate="isIndeterminate" @change="checkAll">列展示</el-checkbox>
15
11
  <div>
16
12
  <el-button class="rigth_button" type="text" @click="save">保存</el-button>
17
13
  <el-button class="rigth_button" type="text" @click="resetList">重置</el-button>
@@ -80,7 +76,7 @@
80
76
  </div>
81
77
  <div v-show="noColumns.length">
82
78
  <p class="title">不固定</p>
83
- <el-checkbox-group class="item" v-model="columnsCheckList" @change="handleCheckedColumnChange">
79
+ <el-checkbox-group class="item" v-model="columnsCheckList" @change="handleCheckedColumnChange">
84
80
  <div
85
81
  class="hover_label"
86
82
  v-for="(item,index) in noColumns"
@@ -221,7 +217,7 @@
221
217
  this.isIndeterminate = checkedCount > 0 && checkedCount < this.columns.length;
222
218
  },
223
219
  //事件-是否勾选-列展示
224
- handleColumnsCheckListChange(value) {
220
+ checkAll(value) {
225
221
  this.columnsCheckList = value ? this.columns.map(item => item.label) : [];
226
222
  this.isIndeterminate = false;
227
223
  },
@@ -10,7 +10,7 @@
10
10
  </div>
11
11
  <div class="table-menu-right" v-if="showMenuRight">
12
12
  <slot name="menuRight"></slot>
13
- <el-dropdown trigger="click" :hide-on-click="false" v-if="showColumnHandleBtn">
13
+ <el-dropdown v-if="showColumnHandleBtn">
14
14
  <IconButton
15
15
  :iconfont="false"
16
16
  :tooltipDisabled="tooltipDisabled"
package/src/index.js CHANGED
@@ -57,7 +57,7 @@ if (typeof window !== 'undefined' && window.Vue) {
57
57
  }
58
58
 
59
59
  export default {
60
- version: '2.1.31',
60
+ version: '2.1.33',
61
61
  locale: locale.use,
62
62
  i18n: locale.i18n,
63
63
  install,
@@ -299,7 +299,7 @@
299
299
  color: $--color-primary;
300
300
  cursor: pointer;
301
301
  font-size: 12px;
302
- margin: 0;
302
+ margin: 0 !important;
303
303
  padding: 0 0 0 10px;
304
304
  }
305
305
  }