Browse Source

放开minio的注释

pull/12/head
高森 4 years ago
parent
commit
6465054e0c
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      webapp/src/router/index.js

+ 3
- 3
webapp/src/router/index.js View File

@@ -100,9 +100,9 @@ router.beforeEach(async (to, from, next) => {
if (getToken()) {
// 全局 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') {


Loading…
Cancel
Save