uview-pro 0.3.12 → 0.3.13

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,7 @@
1
+ ## 0.3.13(2025-11-11)
2
+ ### Bug Fixes | Bug 修复
3
+
4
+ - **u-root-portal:** 修复根节点传送组件运行时报错问题 ([3c24a75](https://github.com/anyup/uView-Pro/commit/3c24a75de00982bbdc1388a413721377de4f1e3d))
1
5
  ## 0.3.12(2025-11-10)
2
6
 
3
7
  ### 🐛 Bug Fixes | Bug 修复
@@ -18,6 +18,12 @@
18
18
  <!-- #endif -->
19
19
  </template>
20
20
  <script>
21
+ /**
22
+ * rootPortal 根节点传送
23
+ * @description 该组件一般用于使整个子树从页面中脱离出来,类似于在 CSS 中使用 fixed position 的效果。主要用于制作弹窗、弹出层等。
24
+ * @tutorial https://uviewpro.cn/zh/components/rootPortal.html
25
+ * @example <u-root-portal><view class="modal">这是一个全局弹窗</view></u-root-portal>
26
+ */
21
27
  export default {
22
28
  name: 'u-root-portal',
23
29
  options: {
@@ -29,14 +35,7 @@ export default {
29
35
  }
30
36
  };
31
37
  </script>
32
- <script lang="ts" setup>
33
- /**
34
- * rootPortal 根节点传送
35
- * @description 该组件一般用于使整个子树从页面中脱离出来,类似于在 CSS 中使用 fixed position 的效果。主要用于制作弹窗、弹出层等。
36
- * @tutorial https://uviewpro.cn/zh/components/rootPortal.html
37
- * @example <u-root-portal><view class="modal">这是一个全局弹窗</view></u-root-portal>
38
- */
39
- </script>
38
+ <script lang="ts" setup></script>
40
39
 
41
40
  <!-- #ifdef APP-PLUS -->
42
41
  <script module="render" lang="renderjs">
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "id": "uview-pro",
3
3
  "name": "uview-pro",
4
4
  "displayName": "【支持鸿蒙】uView Pro|基于Vue3+TS全面重构的80+精选UI组件库",
5
- "version": "0.3.12",
5
+ "version": "0.3.13",
6
6
  "description": "uView Pro,是全面支持Vue3的uni-app生态框架,80+精选组件已使用TypeScript重构,已全面支持uni-app Vue3.0",
7
7
  "main": "index.ts",
8
8
  "module": "index.ts",