chore: 剔除跟登陆相关的无用逻辑
This commit is contained in:
parent
9d25cddcb3
commit
8d0c890061
@ -34,28 +34,6 @@ const routes: Array<RouteRecordRaw> = [
|
|||||||
},
|
},
|
||||||
component: () => import('@/components/renderer-adapter/index.vue'),
|
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'),
|
|
||||||
// },
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
@ -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>
|
|
Loading…
x
Reference in New Issue
Block a user