|
@@ -53,7 +53,6 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
-import { admin } from '../../../layout/menu'
|
|
|
import { menuInfo } from '../../../layout/site'
|
|
|
import { ElMessage } from 'element-plus'
|
|
|
import store from '@/stores/counter'
|
|
@@ -69,7 +68,7 @@ const route = useRoute()
|
|
|
let onRoutes = route.path
|
|
|
let user: Ref<any> = ref({})
|
|
|
const styleInfo: Ref<any> = ref(menuInfo.info)
|
|
|
-let items: Ref<any> = ref(admin)
|
|
|
+let items: Ref<any> = ref([])
|
|
|
onMounted(async () => {
|
|
|
user.value = store.state.user
|
|
|
})
|