|
@@ -514,7 +514,7 @@ export default {
|
|
|
if (v) {
|
|
|
document.body.classList.add('aria-active')
|
|
|
document.documentElement.classList.add('aria-active')
|
|
|
- this.$emit('show')
|
|
|
+ this.$emit('show') // 没啥用
|
|
|
this.$eventBus.$emit('aria-show')
|
|
|
} else {
|
|
|
this.reset()
|
|
@@ -528,7 +528,7 @@ export default {
|
|
|
document.documentElement.classList.remove(iterator)
|
|
|
}
|
|
|
}
|
|
|
- this.$emit('hide')
|
|
|
+ this.$emit('hide') // 没啥用
|
|
|
this.$eventBus.$emit('aria-hide')
|
|
|
}
|
|
|
},
|