doway-coms 2.11.5 → 2.11.7

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": "doway-coms",
3
- "version": "2.11.5",
3
+ "version": "2.11.7",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -44,7 +44,6 @@
44
44
  @cell-click="cellClick"
45
45
  resizable
46
46
  :show-overflow="showOverFlow"
47
- :show-header-overflow="showHeaderOverflow"
48
47
  show-footer-overflow
49
48
  highlight-current-row
50
49
  highlight-hover-row
@@ -393,7 +392,7 @@
393
392
  <slot name="expandDefault" :item="{ row, column }"></slot>
394
393
  </template>
395
394
  <template #linkCell="{ row, column }">
396
- <div class="link-cell-tags" v-if="!gridEdit">
395
+ <div class="link-cell-tags" v-if="!column.params.edit">
397
396
  <template v-if="row[column.property]">
398
397
  <a-tag
399
398
  v-for="(item, index) in row[column.property].split(',')"
@@ -1081,7 +1080,7 @@ export default {
1081
1080
  },
1082
1081
  showHeaderOverflow: {
1083
1082
  type: Boolean,
1084
- default: true,
1083
+ default: null,
1085
1084
  },
1086
1085
  cellClassName: {
1087
1086
  type: Function,
@@ -1297,6 +1296,18 @@ export default {
1297
1296
  } catch (err) {
1298
1297
  console.debug(err)
1299
1298
  }
1299
+ let tempShowHeadOverflow = true
1300
+ //样式定义
1301
+ if(this.$store.getters.baseSetting && this.$store.getters.baseSetting.gridShowHeaderOverflow){
1302
+ tempShowHeadOverflow = this.$store.getters.baseSetting.gridShowHeaderOverflow
1303
+ }
1304
+ if(this.showHeaderOverflow!==null){
1305
+ tempShowHeadOverflow = this.showHeaderOverflow
1306
+ }
1307
+ this.gridOptions['showHeaderOverflow'] = tempShowHeadOverflow
1308
+ //----------------------------------------
1309
+
1310
+
1300
1311
  //拖动后输入框有错位问题,暂时不启用
1301
1312
  // this.initColumnDrop()
1302
1313
  for (let i = 0; i < this.columns.length; i++) {