@@ -207,6 +207,7 @@ app.use(TimeSelect).use(TimePannel).use(TimeDetail).use(Popup);
| title | Bomb layer title | String | `Pickup Time`
| current-key | Unique identification | String、Number | `0`
| current-time | The currently selected time, the array element contains:key: string; list: string[] | Array | `[]`
+| lock-scroll | Whether the background is locked | Boolean | `false` |
### TimePannel Prop
| title | 弹层标题 | String | `取件时间`
| current-key | 唯一标识 | String、Number | `0`
| current-time | 当前选择的时间,数组元素包含:key: string; list: string[] | Array | `[]`
+| lock-scroll | 背景是否锁定 | Boolean | `false` |
@@ -5,6 +5,7 @@
round
:visible="visible"
:style="popStyle"
+ :lock-scroll="lockScroll"
@click-overlay="close"
@click-close-icon="close"
>
@@ -56,6 +57,10 @@ export default create({
muti: {
type: [Boolean],
default: false
+ },
+ lockScroll: {
+ type: [Boolean],
+ default: false
}
},
emits: ['update:visible', 'select'],
@@ -6,6 +6,7 @@
:isWrapTeleport="isWrapTeleport"
@@ -54,6 +55,10 @@ export default create({
return [];
isWrapTeleport: {
type: Boolean,