| @@ -100,9 +100,9 @@ router.beforeEach(async (to, from, next) => { | |||||
| if (getToken()) { | if (getToken()) { | ||||
| // 全局 minioClient 只初始化一次 | // 全局 minioClient 只初始化一次 | ||||
| if (!window.minioClient) { | if (!window.minioClient) { | ||||
| const instance = new MinioClient(); | |||||
| const minioClient = await instance.init(); | |||||
| window.minioClient = minioClient; | |||||
| // const instance = new MinioClient(); | |||||
| // const minioClient = await instance.init(); | |||||
| // window.minioClient = minioClient; | |||||
| } | } | ||||
| // 已登录且要跳转的页面是登录页 | // 已登录且要跳转的页面是登录页 | ||||
| if (to.path === '/login') { | if (to.path === '/login') { | ||||
| @@ -94,13 +94,17 @@ export default { | |||||
| } | } | ||||
| .radio-label { | .radio-label { | ||||
| width: 400px; | |||||
| min-height: 320px; | |||||
| width: 362px; | |||||
| font-size: 20px; | |||||
| min-height: 474px; | |||||
| padding: 30px 16px; | padding: 30px 16px; | ||||
| line-height: 24px; | line-height: 24px; | ||||
| text-align: center; | text-align: center; | ||||
| cursor: pointer; | cursor: pointer; | ||||
| border-radius: 12px; | border-radius: 12px; | ||||
| > img { | |||||
| margin-top: 50px; | |||||
| } | |||||
| } | } | ||||
| .border { | .border { | ||||
| @@ -517,8 +517,8 @@ export default { | |||||
| } | } | ||||
| .registerEn { | .registerEn { | ||||
| position: fixed; | position: fixed; | ||||
| right: 50px; | |||||
| top: 20px; | |||||
| right: 30px; | |||||
| top: 160px; | |||||
| width: 80px; | width: 80px; | ||||
| height: 35px; | height: 35px; | ||||
| background-color: #ffffff; | background-color: #ffffff; | ||||