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