会话
This commit is contained in:
@@ -227,7 +227,6 @@ export default {
|
||||
this.getTree()
|
||||
this.getList()
|
||||
this.getTags()
|
||||
this.getType()
|
||||
document.querySelector('html').addEventListener('click', this.bindEvent)
|
||||
document.addEventListener('keydown', (event) => {
|
||||
if (event.ctrlKey && event.shiftKey && event.altKey && event.code === 'KeyD') {
|
||||
@@ -238,6 +237,9 @@ export default {
|
||||
this.typeList = this.$dict.getDict('baiduAiStatisticsRange')
|
||||
})
|
||||
},
|
||||
beforeUnmount() {
|
||||
document.removeEventListener('keydown')
|
||||
},
|
||||
|
||||
methods: {
|
||||
getType() {
|
||||
|
||||
Reference in New Issue
Block a user