uview-plus 3.0.9 → 3.0.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
|
@@ -35,10 +35,9 @@
|
|
|
35
35
|
<slot>
|
|
36
36
|
<u-line v-if="description"></u-line>
|
|
37
37
|
<view class="u-action-sheet__item-wrap">
|
|
38
|
-
<
|
|
38
|
+
<view :key="index" v-for="(item, index) in actions">
|
|
39
39
|
<!-- #ifdef MP -->
|
|
40
40
|
<button
|
|
41
|
-
:key="index"
|
|
42
41
|
class="u-reset-button"
|
|
43
42
|
:openType="item.openType"
|
|
44
43
|
@getuserinfo="onGetUserInfo"
|
|
@@ -85,7 +84,7 @@
|
|
|
85
84
|
</button>
|
|
86
85
|
<!-- #endif -->
|
|
87
86
|
<u-line v-if="index !== actions.length - 1"></u-line>
|
|
88
|
-
</
|
|
87
|
+
</view>
|
|
89
88
|
</view>
|
|
90
89
|
</slot>
|
|
91
90
|
<u-gap
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
>
|
|
15
15
|
<!-- #ifndef MP-WEIXIN -->
|
|
16
16
|
<!-- 微信小程序不支持,因为微信中不支持 <slot name="title" slot="title" />的写法 -->
|
|
17
|
-
<template
|
|
17
|
+
<template #title>
|
|
18
18
|
<slot name="title"></slot>
|
|
19
19
|
</template>
|
|
20
|
-
<template
|
|
20
|
+
<template #icon>
|
|
21
21
|
<slot name="icon"></slot>
|
|
22
22
|
</template>
|
|
23
|
-
<template
|
|
23
|
+
<template #value>
|
|
24
24
|
<slot name="value"></slot>
|
|
25
25
|
</template>
|
|
26
|
-
<template
|
|
26
|
+
<template #right-icon>
|
|
27
27
|
<slot name="right-icon"></slot>
|
|
28
28
|
</template>
|
|
29
29
|
<!-- #endif -->
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
return !this.animation && this.showAction
|
|
158
158
|
}
|
|
159
159
|
},
|
|
160
|
-
emits: ['clear', 'search', 'custom', 'focus', 'blur', 'click', 'clickIcon'],
|
|
160
|
+
emits: ['clear', 'search', 'custom', 'focus', 'blur', 'click', 'clickIcon', 'update:modelValue', 'change'],
|
|
161
161
|
methods: {
|
|
162
162
|
// 目前HX2.6.9 v-model双向绑定无效,故监听input事件获取输入框内容的变化
|
|
163
163
|
inputChange(e) {
|