RuoYi
2024-06-30 99e66bf11c38ebe2f21f73b956918468eae4929c
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)
    }
  }
}