doway-coms 2.11.6 → 2.11.8

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.6",
3
+ "version": "2.11.8",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -452,6 +452,12 @@ export default {
452
452
  return ''
453
453
  },
454
454
  },
455
+ background: {
456
+ type: String,
457
+ default: function () {
458
+ return ''
459
+ },
460
+ },
455
461
  },
456
462
  computed: {
457
463
  computedformStyle(){
@@ -465,6 +471,9 @@ export default {
465
471
  overflowY: 'auto',
466
472
  paddingBottom:'7px'
467
473
  }
474
+ if(this.background){
475
+ layoutFormStyle['background'] = this.background
476
+ }
468
477
 
469
478
  if(this.layoutType==='grid'){
470
479
  // 计算最大的行和列
@@ -392,7 +392,7 @@
392
392
  <slot name="expandDefault" :item="{ row, column }"></slot>
393
393
  </template>
394
394
  <template #linkCell="{ row, column }">
395
- <div class="link-cell-tags" v-if="!gridEdit">
395
+ <div class="link-cell-tags" v-if="!column.params.edit">
396
396
  <template v-if="row[column.property]">
397
397
  <a-tag
398
398
  v-for="(item, index) in row[column.property].split(',')"