RuoYi
2023-02-16 ade70583e9164d48dbe577c02da8d0ee22ebceaa
ruoyi-ui/src/components/RightPanel/index.vue
@@ -39,7 +39,6 @@
    }
  },
  mounted() {
    this.insertToBody()
    this.addEventClick()
  },
  beforeDestroy() {
@@ -56,11 +55,6 @@
        this.show = false
        window.removeEventListener('click', this.closeSidebar)
      }
    },
    insertToBody() {
      const elx = this.$refs.rightPanel
      const body = document.querySelector('body')
      body.insertBefore(elx, body.firstChild)
    }
  }
}