fix(drawer): mask disappear faster than content (#375)

This commit is contained in:
Lyx 2023-08-11 12:03:07 +08:00 committed by GitHub
parent c38d204525
commit 18d4d190d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ export const watchVisible = ({ state }) => (bool) => {
export const watchToggle = ({ emit }) => (bool) => {
setTimeout(() => {
emit('update:visible', bool)
}, 200)
}, 0)
}
export const confirm = ({ emit, state }) => () => {