zhanghua
2024-11-05 5fb67b6436f1d0a5e5f2035e59845b6ef9e0d7d5
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 })