update
This commit is contained in:
@ -88,6 +88,9 @@ const fullLoginLabel = t('go to full login')
|
||||
},
|
||||
|
||||
close() {
|
||||
// 未打开时直接返回:本函数的 ESC 监听挂在 window 上,页面里任何一次 ESC 都会调到它。
|
||||
// 若无条件清掉 body 滚动锁,会把别的浮层(图片灯箱等)的滚动锁一起抢掉。
|
||||
if (!this.isOpen) return
|
||||
this.isOpen = false
|
||||
this.pending = null
|
||||
this.error = ""
|
||||
|
||||
Reference in New Issue
Block a user