fix style in mobile

This commit is contained in:
Pan
2019-03-22 13:12:03 +08:00
parent d919acf64b
commit ec7c585813
3 changed files with 13 additions and 1 deletions

View File

@@ -45,6 +45,10 @@ export default {
mounted() {
this.insertToBody()
},
beforeDestroy() {
const elx = this.$refs.rightPanel
elx.remove()
},
methods: {
addEventClick() {
window.addEventListener('click', this.closeSidebar)