n20-common-lib 2.6.83 → 2.6.84

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": "n20-common-lib",
3
- "version": "2.6.83",
3
+ "version": "2.6.84",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -7,7 +7,12 @@
7
7
  :data="data"
8
8
  :height="height"
9
9
  :class="{ 'cell-default-set--': cellDefault }"
10
- :checkbox-config="{ checkField: 'checked', checkMethod: forbidSelect }"
10
+ :checkbox-config="{
11
+ checkField: 'checked',
12
+ checkMethod: forbidSelect,
13
+ ...$attrs['checkbox-config'],
14
+ ...attrs.checkboxConfig
15
+ }"
11
16
  show-header-overflow
12
17
  show-overflow
13
18
  :row-config="{ isHover: true, useKey: true, ...$attrs.rowConfig, ...$attrs['row-config'] }"
@@ -266,7 +271,8 @@ export default {
266
271
  // row当前单次勾选的哪一行数据 包含checked字段
267
272
  handleSelectionChange(row = '') {
268
273
  const val = this.$refs.vxeTable.getCheckboxRecords()
269
- this.$emit('selection-change-method', val, row)
274
+ const val1 = this.$refs.vxeTable.getCheckboxReserveRecords()
275
+ this.$emit('selection-change-method', [...val, ...val1], row)
270
276
  },
271
277
  sizeUp(size) {
272
278
  this.sizeC = size
@@ -99,7 +99,7 @@ function errorFn(status, msg, noMsg, isErr, res) {
99
99
  if (navigator.userAgent.includes('NSTC-WebEntry')) {
100
100
  localStorage.clear()
101
101
  sessionStorage.clear()
102
- window.top.webQuit()
102
+ // window.top.webQuit()
103
103
  } else {
104
104
  auth.removeToken()
105
105
  }