uview-plus 3.0.12 → 3.0.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,5 @@
1
+ ## 3.0.13(2022-07-22)
2
+ 修复u--input与u--textarea组件多个事件执行两次问题
1
3
  ## 3.0.12(2022-07-20)
2
4
  修复u-action-sheet中v-for报错
3
5
  u-collapse-item中slot修复
@@ -36,16 +36,9 @@
36
36
  :shape="shape"
37
37
  :customStyle="customStyle"
38
38
  :formatter="formatter"
39
- :ignoreCompositionEvent="ignoreCompositionEvent"
40
- @focus="$emit('focus')"
41
- @blur="e => $emit('blur', e)"
42
- @keyboardheightchange="$emit('keyboardheightchange')"
43
- @change="e => $emit('change', e)"
39
+ :ignoreCompositionEvent="ignoreCompositionEvent"
44
40
  @input="e => $emit('input', e)"
45
41
  @update:modelValue="e => $emit('update:modelValue', e)"
46
- @confirm="e => $emit('confirm', e)"
47
- @clear="$emit('clear')"
48
- @click="$emit('click')"
49
42
  >
50
43
  <!-- #ifdef MP -->
51
44
  <slot name="prefix"></slot>
@@ -23,13 +23,8 @@
23
23
  :customStyle="customStyle"
24
24
  :formatter="formatter"
25
25
  :ignoreCompositionEvent="ignoreCompositionEvent"
26
- @focus="e => $emit('focus')"
27
- @blur="e => $emit('blur')"
28
- @linechange="e => $emit('linechange', e)"
29
- @confirm="e => $emit('confirm')"
30
26
  @input="e => $emit('input', e)"
31
27
  @update:modelValue="e => $emit('update:modelValue', e)"
32
- @keyboardheightchange="e => $emit('keyboardheightchange')"
33
28
  ></uvTextarea>
34
29
  </template>
35
30
 
@@ -49,7 +49,7 @@
49
49
  <view
50
50
  class="u-input__content__clear"
51
51
  v-if="isShowClear"
52
- @tap="onClear"
52
+ @click="onClear"
53
53
  >
54
54
  <u-icon
55
55
  name="close"
@@ -318,13 +318,15 @@
318
318
 
319
319
  }
320
320
 
321
+ /* #ifndef APP-NVUE */
321
322
  @keyframes u-loop-animation {
322
323
  0% {
323
324
  transform: translate3d(0, 0, 0);
324
325
  }
325
-
326
+
326
327
  100% {
327
328
  transform: translate3d(-100%, 0, 0);
328
329
  }
329
330
  }
331
+ /* #endif */
330
332
  </style>
@@ -55,7 +55,7 @@
55
55
  <!-- #endif -->
56
56
  <view
57
57
  class="u-scroll-list__indicator"
58
- v-show="indicator"
58
+ v-if="indicator"
59
59
  :style="[$u.addStyle(indicatorStyle)]"
60
60
  >
61
61
  <view
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.12",
5
+ "version": "3.0.13",
6
6
  "description": "uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
7
7
  "keywords": [
8
8
  "uview",