mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-26 16:46:19 +08:00
fix: improve the display of modal and drawer on mobile (#4237)
This commit is contained in:
@@ -159,7 +159,7 @@ function toggleUnlockForm() {
|
||||
</transition>
|
||||
|
||||
<div
|
||||
class="enter-y absolute bottom-5 w-full text-center text-gray-300 xl:text-xl 2xl:text-3xl"
|
||||
class="enter-y absolute bottom-5 w-full text-center xl:text-xl 2xl:text-3xl"
|
||||
>
|
||||
<div v-if="showUnlockForm" class="enter-x mb-2 text-3xl">
|
||||
{{ hour }}:{{ minute }} <span class="text-lg">{{ meridiem }}</span>
|
||||
|
@@ -55,7 +55,7 @@ const listen = computed(() => {
|
||||
</script>
|
||||
<template>
|
||||
<div>
|
||||
<Drawer v-bind="attrs" v-on="listen" />
|
||||
<Drawer v-bind="{ ...$attrs, ...attrs }" v-on="listen" />
|
||||
|
||||
<div @click="() => drawerApi.open()">
|
||||
<slot>
|
||||
|
Reference in New Issue
Block a user