doway-coms 2.10.74 → 2.10.76

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.10.74",
3
+ "version": "2.10.76",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -101,7 +101,11 @@
101
101
  blurChange(col)
102
102
  }
103
103
  "
104
- />
104
+ >
105
+ <template #right="slotProps">
106
+ <slot :name="'right-' + col.field" v-bind="slotProps"></slot>
107
+ </template>
108
+ </BaseNumberInput>
105
109
  <BaseIntervalInput
106
110
  v-if="
107
111
  col.controlType === 'interval' &&
@@ -57,6 +57,7 @@
57
57
  <span v-else>{{ getFormatValue(currentValue) }}</span>
58
58
  </span>
59
59
  </div>
60
+ <slot name="right" :field="name"></slot>
60
61
  </div>
61
62
  </template>
62
63
 
@@ -421,15 +421,15 @@ export default {
421
421
  }
422
422
  },
423
423
  },
424
- watch: {
425
- // 触发下拉表格字段更改,直接重新渲染
426
- columns: {
427
- handler(newVal) {
428
- this.reloadColumn()
429
- },
430
- deep: true
431
- }
432
- },
424
+ // watch: { //davis20250111注释掉,会照成死循环问题
425
+ // // 触发下拉表格字段更改,直接重新渲染
426
+ // columns: {
427
+ // handler(newVal) {
428
+ // this.reloadColumn()
429
+ // },
430
+ // deep: true
431
+ // }
432
+ // },
433
433
  computed: {
434
434
  currentValue: {
435
435
  // 动态计算currentValue的值