管理端

This commit is contained in:
2025-03-17 17:41:02 +08:00
parent 5b4a055d47
commit 0c53dc4d54
31 changed files with 440 additions and 46 deletions

View File

@@ -1,13 +1,28 @@
<script setup>
import {useSystemStore} from "../../pinia/SystemStore/index.js";
import {useUserStore} from "../../pinia/UserStore/index.js";
const SystemStore = useSystemStore();
const {logout} = useUserStore();
</script>
<template>
<div class="w-full h-full flex items-center px-[24px] box-border bg-white">
<div class="title">
代发平台-{{SystemStore.isRoot?'管理员':'商家'}}
代发平台-{{ SystemStore.isRoot ? '管理员' : '商家' }}
</div>
<div class="ml-auto">
<a-dropdown>
<a-link
:hoverable="false">
15709267061
<icon-down/>
</a-link>
<template #content>
<a-doption @click="logout">退出登陆</a-doption>
</template>
</a-dropdown>
</div>
</div>
</template>