uview-plus 3.4.58 → 3.4.60

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,11 @@
1
+ ## 3.4.60(2025-07-23)
2
+ fix: 修复use阶段全局加载图标引起App端不明$page报错
3
+
4
+ ## 3.4.59(2025-07-23)
5
+ fix: 修复album组件和CateTab组件watch和emits重复
6
+
7
+ fix: 修复样式优先级导致form表单labelPosition属性top失效
8
+
1
9
  ## 3.4.58(2025-07-22)
2
10
  fix: 修复样式优先级影响grid宫格组件布局
3
11
 
@@ -114,7 +114,6 @@ export default {
114
114
  }
115
115
  }
116
116
  },
117
- emits: ["albumWidth"],
118
117
  computed: {
119
118
  imageStyle() {
120
119
  return (index1, index2) => {
@@ -221,7 +221,7 @@
221
221
  style.opacity = 0.7
222
222
  }
223
223
  } else if (this.selected.length === 1) {
224
- // 之所以需要这么写,是因为DCloud公司的iOS客户端的开发者能力有限导致的bug
224
+ // 之所以需要这么写,是因为uni-app的iOS客户端的bug
225
225
  // 进行还原操作,否则在nvue的iOS,uni-app有bug,会导致诡异的表现
226
226
  style.borderTopLeftRadius = '3px'
227
227
  style.borderBottomLeftRadius = '3px'
@@ -73,7 +73,11 @@
73
73
  watch: {
74
74
  tabList() {
75
75
  this.getMenuItemTop()
76
- }
76
+ },
77
+ current(nval) {
78
+ this.innerCurrent = nval;
79
+ this.leftMenuStatus(this.innerCurrent);
80
+ }
77
81
  },
78
82
  emits: ['update:current'],
79
83
  data() {
@@ -96,12 +100,6 @@
96
100
  this.leftMenuStatus(this.innerCurrent);
97
101
  this.getMenuItemTop()
98
102
  },
99
- watch: {
100
- current(nval) {
101
- this.innerCurrent = nval;
102
- this.leftMenuStatus(this.innerCurrent);
103
- }
104
- },
105
103
  methods: {
106
104
  addUnit,
107
105
  // 点击左边的栏目切换
@@ -25,7 +25,7 @@
25
25
  * @property {String | Number} labelWidth 提示文字的宽度,单位px ( 默认 45 )
26
26
  * @property {String} labelAlign lable字体的对齐方式 ( 默认 ‘left' )
27
27
  * @property {Object} labelStyle lable的样式,对象形式
28
- * @example <up-formlabelPosition="left" :model="model1" :rules="rules" ref="form1"></up-form>
28
+ * @example <up-form labelPosition="left" :model="model1" :rules="rules" ref="form1"></up-form>
29
29
  */
30
30
  export default {
31
31
  name: "u-form",
@@ -190,11 +190,11 @@
190
190
  });
191
191
  errorsRes.push(...errors);
192
192
  childErrors.push(...errors);
193
- }
194
- //没有配置,或者配置了showErrorMsg为true时候,才修改子组件message,默认没有配置
195
- if(!options||options?.showErrorMsg==true){
196
- child.message =
197
- childErrors[0]?.message ? childErrors[0].message : null;
193
+ }
194
+ //没有配置,或者配置了showErrorMsg为true时候,才修改子组件message,默认没有配置
195
+ if(!options||options?.showErrorMsg==true){
196
+ child.message =
197
+ childErrors[0]?.message ? childErrors[0].message : null;
198
198
  }
199
199
  if (i == (rules.length - 1)) {
200
200
  resolve(errorsRes)
@@ -219,10 +219,10 @@
219
219
  });
220
220
  });
221
221
  },
222
- /**
223
- * 校验全部数据
224
- * @param {Object} options
225
- * @param {Boolean} options.showErrorMsg -是否显示校验信息,
222
+ /**
223
+ * 校验全部数据
224
+ * @param {Object} options
225
+ * @param {Boolean} options.showErrorMsg -是否显示校验信息,
226
226
  */
227
227
  validate(options) {
228
228
  // 开发环境才提示,生产环境不会提示
@@ -58,12 +58,12 @@ const loadFont = once(() => {
58
58
  }
59
59
  // #endif
60
60
  // #ifdef APP-NVUE
61
- if (this.customFontFamily) {
62
- domModule.addRule('fontFace', {
63
- 'fontFamily': `${this.customPrefix}-${this.customFontFamily}`,
64
- 'src': `url('${this.customFontUrl}')`
65
- })
66
- }
61
+ // if (this.customFontFamily) {
62
+ // domModule.addRule('fontFace', {
63
+ // 'fontFamily': `${this.customPrefix}-${this.customFontFamily}`,
64
+ // 'src': `url('${this.customFontUrl}')`
65
+ // })
66
+ // }
67
67
  // #endif
68
68
  return true;
69
69
  });
@@ -206,7 +206,7 @@ export default {
206
206
  if (this.border === "none") {
207
207
  style.padding = "0";
208
208
  } else {
209
- // 由于uni-app的iOS开发者能力有限,导致需要分开写才有效
209
+ // 由于uni-app的iOS端限制,导致需要分开写才有效
210
210
  style.paddingTop = "6px";
211
211
  style.paddingBottom = "6px";
212
212
  style.paddingLeft = "9px";
package/index.js CHANGED
@@ -125,9 +125,6 @@ const install = (Vue, upuiParams = '') => {
125
125
  Vue.component(name, component);
126
126
  });
127
127
  // #endif
128
-
129
- // 加载字体
130
- fontUtil.loadFont();
131
128
 
132
129
  // 初始化
133
130
  if (upuiParams) {
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.58",
5
+ "version": "3.4.60",
6
6
  "description": "零云®uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水。",
7
7
  "keywords": [
8
8
  "uview",
package/theme.scss CHANGED
@@ -38,7 +38,7 @@ $u-info-light: #f4f4f5;
38
38
  // scss混入,为了少写几行#ifndef
39
39
  @mixin flex($direction: row) {
40
40
  /* #ifndef APP-NVUE */
41
- display: flex !important;
41
+ display: flex;
42
42
  /* #endif */
43
- flex-direction: $direction !important;
43
+ flex-direction: $direction;
44
44
  }