好了
This commit is contained in:
parent
e413e3d902
commit
1e01d15b33
|
@ -16,6 +16,7 @@
|
|||
import { h, reactive } from 'vue';
|
||||
import { MailOutlined, AppstoreOutlined, SettingOutlined } from '@ant-design/icons-vue';
|
||||
import { useRoute, useRouter } from 'vue-router';
|
||||
const router = useRouter();
|
||||
|
||||
function getItem(label, key, icon, children, type) {
|
||||
return {
|
||||
|
@ -68,7 +69,7 @@ const onOpenChange = (openKeys) => {
|
|||
|
||||
const HandleClick = (e) => {
|
||||
console.log("点击成功");
|
||||
const router = useRouter();
|
||||
|
||||
const key = e.key;
|
||||
console.log(e.key);
|
||||
switch (key) {
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
<template style="display: flex;flex-direction: row">
|
||||
<template>
|
||||
<div style="display: flex;flex-direction: row" >
|
||||
<LeftBar></LeftBar>
|
||||
<router-view></router-view>
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import LeftBar from "@/Manager/LeftBar.vue";
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
<template style="display: flex;flex-direction: column;">
|
||||
<template >
|
||||
<div style="display: flex;flex-direction: column;">
|
||||
<Header></Header>
|
||||
<MainSection></MainSection>
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import Header from "@/Manager/Header.vue";
|
||||
|
|
Loading…
Reference in New Issue
Block a user