mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-18 09:16:39 +08:00
refactor(ui): 调整
This commit is contained in:
parent
32368caf1b
commit
9d26a892d1
@ -18,14 +18,4 @@
|
||||
border-radius: 1px;
|
||||
background: #fafafa;
|
||||
}
|
||||
|
||||
.public-bg {
|
||||
display: flex;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: linear-gradient(133deg, #ffffff 0%, #dde8fe 100%);
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
|
@ -49,11 +49,13 @@ const [visible, setVisible] = useState(false);
|
||||
</ADoption>
|
||||
</template>
|
||||
<template #footer>
|
||||
<APopconfirm content="确认退出?" position="br" @ok="authStore.logout">
|
||||
<ASpace align="center" class="logout-area">
|
||||
<IconExport size="16" />
|
||||
<span>退出</span>
|
||||
</ASpace>
|
||||
<APopconfirm content="确认退出?" position="bl" @ok="authStore.logout">
|
||||
<AButton status="warning" class="logout-area">
|
||||
<ASpace align="center">
|
||||
<IconExport size="16" />
|
||||
<span>退出登录</span>
|
||||
</ASpace>
|
||||
</AButton>
|
||||
</APopconfirm>
|
||||
</template>
|
||||
</ADropdown>
|
||||
@ -125,7 +127,8 @@ const [visible, setVisible] = useState(false);
|
||||
.logout-area {
|
||||
padding: 8px 0;
|
||||
display: flex;
|
||||
width: 80px;
|
||||
min-width: 80px;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ const menu = [
|
||||
component: () => import("@/views/User/UserContainer.vue"),
|
||||
},
|
||||
{
|
||||
path: "/Role",
|
||||
path: "/role",
|
||||
name: "Role",
|
||||
meta: {
|
||||
title: "角色管理",
|
||||
@ -43,7 +43,7 @@ const menu = [
|
||||
component: () => import("@/views/Role/RoleContainer.vue"),
|
||||
},
|
||||
{
|
||||
path: "/ChatModel",
|
||||
path: "/chatModel",
|
||||
name: "ChatModel",
|
||||
meta: {
|
||||
title: "语言模型",
|
||||
@ -52,7 +52,7 @@ const menu = [
|
||||
component: () => import("@/views/ChatModel/ChatModelContainer.vue"),
|
||||
},
|
||||
{
|
||||
path: "/Product",
|
||||
path: "/product",
|
||||
name: "Product",
|
||||
meta: {
|
||||
title: "充值产品",
|
||||
@ -61,7 +61,7 @@ const menu = [
|
||||
component: () => import("@/views/Product/ProductContainer.vue"),
|
||||
},
|
||||
{
|
||||
path: "/ApiKey",
|
||||
path: "/apiKey",
|
||||
name: "ApiKey",
|
||||
meta: {
|
||||
title: "APIKEY",
|
||||
|
@ -31,19 +31,5 @@ export default defineConfig(({ mode }) => {
|
||||
},
|
||||
},
|
||||
},
|
||||
build: {
|
||||
rollupOptions: {
|
||||
output: {
|
||||
manualChunks: (id) => {
|
||||
if (id.includes("node_modules")) {
|
||||
if (id.includes("echats")) return `echats`;
|
||||
if (id.includes("arco")) return `arco`;
|
||||
if (id.includes("vue") && !id.includes("arco")) return `vue`;
|
||||
return `vendor`;
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user