mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-26 17:05:23 +08:00
vue2 圆角标签栏
This commit is contained in:
@ -53,7 +53,6 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.insertToBody()
|
||||
this.addEventClick()
|
||||
},
|
||||
beforeDestroy() {
|
||||
@ -70,11 +69,6 @@ export default {
|
||||
this.show = false
|
||||
window.removeEventListener('click', this.closeSidebar)
|
||||
}
|
||||
},
|
||||
insertToBody() {
|
||||
const elx = this.$refs.rightPanel
|
||||
const body = document.querySelector('body')
|
||||
body.insertBefore(elx, body.firstChild)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user