|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<el-menu
|
|
|
- :default-active="this.$store.state.currentMenuItem"
|
|
|
+ :default-active="store.state.currentMenuItem"
|
|
|
style="width: 220px; height: 100%"
|
|
|
background-color="#141B29"
|
|
|
text-color="#fff"
|
|
|
@@ -27,6 +27,7 @@
|
|
|
</template>
|
|
|
<script setup>
|
|
|
import { ref } from "vue";
|
|
|
+import store from "../store";
|
|
|
|
|
|
let defaultActive = ref();
|
|
|
function changeIndex(path) {
|