uview-plus 3.4.74 → 3.4.75

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.75(2025-08-07)
2
+ feat: 新增loadFontOnce参数控制是否全局只加载一次字体图标
3
+
1
4
  ## 3.4.74(2025-08-07)
2
5
  feat: input组件新增cursorColor属性
3
6
 
@@ -6,7 +6,10 @@ let params = {
6
6
  // 加载字体方法
7
7
  const loadFont = () => {
8
8
  // console.log('加载字体图标');
9
- params.loaded = true;
9
+ // 全局加载不稳定,默认关闭,需要开启可以配置loadFontOnce。
10
+ if (config.loadFontOnce) {
11
+ params.loaded = true;
12
+ }
10
13
  // #ifdef APP-NVUE
11
14
  // nvue通过weex的dom模块引入字体,相关文档地址如下:
12
15
  // https://weex.apache.org/zh/docs/modules/dom.html#addrule
@@ -50,5 +50,7 @@ export default {
50
50
  // 拦截器
51
51
  interceptor: {
52
52
  navbarLeftClick: null
53
- }
53
+ },
54
+ // 只加载一次字体
55
+ loadFontOnce: false
54
56
  }
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.74",
5
+ "version": "3.4.75",
6
6
  "description": "零云®uview-plus已兼容vue3,100+全面的组件和便捷的工具会让您信手拈来,如鱼得水。",
7
7
  "keywords": [
8
8
  "uview",