@hlw-uni/mp-vue 1.1.14 → 1.1.15
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/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
scroll-y
|
|
16
16
|
:enhanced="true"
|
|
17
17
|
:enable-flex="true"
|
|
18
|
-
:show-scrollbar="
|
|
18
|
+
:show-scrollbar="showScrollbar"
|
|
19
19
|
>
|
|
20
20
|
<view class="hlw-sheet-body-inner">
|
|
21
21
|
<slot />
|
|
@@ -73,6 +73,8 @@ interface Props {
|
|
|
73
73
|
showCta?: boolean;
|
|
74
74
|
ctaText?: string;
|
|
75
75
|
maxHeight?: string;
|
|
76
|
+
/** 是否显示滚动条(仅在 enhanced=true 时生效),默认 true */
|
|
77
|
+
showScrollbar?: boolean;
|
|
76
78
|
}
|
|
77
79
|
|
|
78
80
|
const props = withDefaults(defineProps<Props>(), {
|
|
@@ -84,6 +86,7 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
84
86
|
showCta: false,
|
|
85
87
|
ctaText: "确定",
|
|
86
88
|
maxHeight: "85vh",
|
|
89
|
+
showScrollbar: true,
|
|
87
90
|
});
|
|
88
91
|
|
|
89
92
|
const emit = defineEmits<{
|