管理端
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user