chore: 剔除跟登陆相关的无用逻辑

This commit is contained in:
wangxuefeng 2025-03-07 10:08:16 +08:00
parent 9d25cddcb3
commit 8d0c890061
2 changed files with 0 additions and 72 deletions

View File

@ -34,28 +34,6 @@ const routes: Array<RouteRecordRaw> = [
},
component: () => import('@/components/renderer-adapter/index.vue'),
},
{
path: 'login',
name: `${moduleName}-login`,
meta: {
title: '登录',
icon: 'ant-design:unordered-list-outlined',
keepAlive: true,
hideInMenu: false,
},
component: () => import('@/views/login/index.vue'),
},
// {
// path: 'list',
// name: `${moduleName}-list`,
// meta: {
// title: '用户列表',
// icon: 'ant-design:unordered-list-outlined',
// keepAlive: true,
// hideInMenu: false,
// },
// component: () => import('@/views/user/list.vue'),
// },
],
},
];

View File

@ -1,50 +0,0 @@
<template>
<div>1</div>
</template>
<script setup lang="ts">
import { getProjectList } from '@/io';
getProjectList().then((res) => {
console.log('res', res);
});
</script>
<style lang="less" scoped>
.login-box {
display: flex;
flex-direction: column;
align-items: center;
width: 100vw;
height: 100vh;
padding-top: 240px;
background: url('@/assets/login.svg');
background-size: 100%;
.login-logo {
display: flex;
align-items: center;
margin-bottom: 30px;
.svg-icon {
font-size: 48px;
}
}
:deep(.ant-form) {
width: 400px;
.ant-col {
width: 100%;
}
.ant-form-item-label {
padding-right: 6px;
}
}
.login-type-switch {
text-align: center;
}
}
</style>