uview-plus 3.3.11 → 3.3.12

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,8 @@
1
+ ## 3.3.12(2024-08-06)
2
+ improvement: $u挂载时机调整便于打包分离chunk
3
+
4
+ fix: steps新增itemStyle属性名称冲突
5
+
1
6
  ## 3.3.11(2024-08-05)
2
7
  feat: 新增支持upload组件的deletable/maxCount/accept变更监听 #333
3
8
 
@@ -4,7 +4,7 @@
4
4
  :class="[`u-steps-item__line--${parentData.direction}`]" :style="[lineStyle]"></view>
5
5
  <view class="u-steps-item__wrapper"
6
6
  :class="[`u-steps-item__wrapper--${parentData.direction}`, parentData.dot && `u-steps-item__wrapper--${parentData.direction}--dot`]"
7
- :style="[itemStyle]">
7
+ :style="[itemStyleInner]">
8
8
  <slot name="icon">
9
9
  <view class="u-steps-item__wrapper__dot" v-if="parentData.dot" :style="{
10
10
  backgroundColor: statusColor
@@ -117,7 +117,7 @@
117
117
  .current ? this.parentData.activeColor : this.parentData.inactiveColor
118
118
  return style
119
119
  },
120
- itemStyle() {
120
+ itemStyleInner() {
121
121
  return {
122
122
  ...this.itemStyle
123
123
  }
package/index.js CHANGED
@@ -77,11 +77,11 @@ const $u = {
77
77
  platform
78
78
  }
79
79
 
80
- // $u挂载到uni对象上
81
- uni.$u = $u
82
-
83
80
  const install = (Vue) => {
84
81
  // 同时挂载到uni和Vue.prototype中
82
+ // $u挂载到uni对象上
83
+ uni.$u = $u
84
+
85
85
  // #ifndef APP-NVUE
86
86
  // 只有vue,挂载到Vue.prototype才有意义,因为nvue中全局Vue.prototype和Vue.mixin是无效的
87
87
  Vue.config.globalProperties.$u = $u
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.3.11",
5
+ "version": "3.3.12",
6
6
  "description": "uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
7
7
  "keywords": [
8
8
  "uview",