uview-plus 3.4.60 → 3.4.62

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,9 @@
1
+ ## 3.4.62(2025-07-24)
2
+ feat: divider支持默认插槽
3
+
4
+ ## 3.4.61(2025-07-24)
5
+ feat: divider支持默认插槽
6
+
1
7
  ## 3.4.60(2025-07-23)
2
8
  fix: 修复use阶段全局加载图标引起App端不明$page报错
3
9
 
@@ -14,11 +14,13 @@
14
14
  v-if="dot"
15
15
  class="u-divider__dot"
16
16
  >●</text>
17
- <text
18
- v-else-if="text"
19
- class="u-divider__text"
20
- :style="[textStyle]"
21
- >{{text}}</text>
17
+ <slot>
18
+ <text
19
+ v-if="!dot && text"
20
+ class="u-divider__text"
21
+ :style="[textStyle]"
22
+ >{{text}}</text>
23
+ </slot>
22
24
  <u-line
23
25
  :color="lineColor"
24
26
  :customStyle="rightLineStyle"
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.60",
5
+ "version": "3.4.62",
6
6
  "description": "零云®uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水。",
7
7
  "keywords": [
8
8
  "uview",