uview-plus 3.0.4 → 3.0.6

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
+ ## 3.0.6(2022-07-11)
2
+ 修复u-image缺少emits申明
3
+ ## 3.0.5(2022-07-11)
4
+ 修复u-upload缺少emits申明
1
5
  ## 3.0.4(2022-07-10)
2
6
  修复u-textarea/u-input/u-datetime-picker/u-number-box/u-radio-group/u-switch/u-rate在vue3下数据绑定
3
7
  ## 3.0.3(2022-07-09)
@@ -20,13 +20,13 @@
20
20
  @click="$emit('click')"
21
21
  @error="$emit('error')"
22
22
  @load="$emit('load')"
23
- >
24
- <template v-slot:loading>
25
- <slot name="loading"></slot>
26
- </template>
27
- <template v-slot:error>
28
- <slot name="error"></slot>
29
- </template>
23
+ >
24
+ <template v-slot:loading>
25
+ <slot name="loading"></slot>
26
+ </template>
27
+ <template v-slot:error>
28
+ <slot name="error"></slot>
29
+ </template>
30
30
  </uvImage>
31
31
  </template>
32
32
 
@@ -43,5 +43,6 @@
43
43
  components: {
44
44
  uvImage
45
45
  },
46
+ emits: ['click', 'error', 'load']
46
47
  }
47
48
  </script>
@@ -149,6 +149,7 @@
149
149
  mounted() {
150
150
  this.show = true
151
151
  },
152
+ emits: ['click', 'error', 'load'],
152
153
  methods: {
153
154
  // 点击图片
154
155
  onClick() {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "id": "uview-plus",
3
3
  "name": "uview-plus",
4
4
  "displayName": "uview-plus3.0重磅发布,利剑出鞘,一统江湖",
5
- "version": "3.0.4",
5
+ "version": "3.0.6",
6
6
  "description": "uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
7
7
  "keywords": [
8
8
  "uview",