uview-plus 3.4.42 → 3.4.43

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/changelog.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 3.4.43(2025-06-16)
2
+ feat: table2支持header插槽
3
+
1
4
  ## 3.4.42(2025-06-12)
2
5
  fix: 修复qrcode中默认id问题及canvas2时App无法绘制二维码 感谢@jiaruiyan
3
6
 
@@ -10,8 +10,10 @@
10
10
  headerCellClassName ? headerCellClassName(col) : '',
11
11
  col.fixed === 'left' ? 'u-table-fixed-left' : '',
12
12
  col.fixed === 'right' ? 'u-table-fixed-right' : ''
13
- ]" @click="handleHeaderClick(col)">
14
- {{ col.title }}
13
+ ]" @click="handleHeaderClick(col)">
14
+ <slot name="header" :column="col" :columnIndex="colIndex" :level="1">
15
+ {{ col.title }}
16
+ </slot>
15
17
  <view v-if="col.sortable">
16
18
  {{ getSortIcon(col.key) }}
17
19
  </view>
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "id": "uview-plus",
3
3
  "name": "uview-plus",
4
4
  "displayName": "零云®uview-plus3.0重磅发布,全面的Vue3鸿蒙移动组件库。",
5
- "version": "3.4.42",
5
+ "version": "3.4.43",
6
6
  "description": "零云®uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水。",
7
7
  "keywords": [
8
8
  "uview",