龚焕茏
2024-09-12 362fffe7d40e8145ef37cef6ded3dd515fe2351c
src/layout/index.vue
@@ -14,6 +14,7 @@
<script>
import { Navbar, Sidebar, AppMain } from './components'
import ResizeMixin from './mixin/ResizeHandler'
import { login } from "@/api/user";
export default {
  name: 'Layout',
@@ -42,6 +43,9 @@
      }
    }
  },
  mounted() {
  },
  methods: {
    handleClickOutside() {
      this.$store.dispatch('app/closeSideBar', { withoutAnimation: false })