Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into master_hella

master_hella_20240701
liuchen864 7 months ago
parent
commit
4969cfdf40
  1. 4
      .env.development
  2. 1
      src/permission.ts
  3. 9
      src/router/modules/remaining.ts
  4. 10
      src/views/login/aa.vue

4
.env.development

@ -4,10 +4,10 @@ NODE_ENV=development
VITE_DEV=false VITE_DEV=false
# 请求路径 # 请求路径
VITE_BASE_URL='http://dev.ccwin-in.com:25300/api' VITE_BASE_URL='http://localhost:12080'
# 上传路径 # 上传路径
VITE_UPLOAD_URL='http://dev.ccwin-in.com:25300/api/admin-api/infra/file/upload' VITE_UPLOAD_URL='http://localhost:12080/api/admin-api/infra/file/upload'
# 接口前缀 # 接口前缀
VITE_API_BASEPATH=/dev-api VITE_API_BASEPATH=/dev-api

1
src/permission.ts

@ -15,6 +15,7 @@ const { loadStart, loadDone } = usePageLoading()
// 路由不重定向白名单 // 路由不重定向白名单
const whiteList = [ const whiteList = [
'/login', '/login',
'/aa',
'/social-login', '/social-login',
'/auth-redirect', '/auth-redirect',
'/bind', '/bind',

9
src/router/modules/remaining.ts

@ -184,6 +184,15 @@ const remainingRouter: AppRouteRecordRaw[] = [
title: t('router.login'), title: t('router.login'),
noTagsView: true noTagsView: true
} }
},{
path: '/aa',
component: () => import('@/views/login/aa.vue'),
name: 'Aa',
meta: {
hidden: true,
title: t('router.login'),
noTagsView: true
}
}, },
{ {
path: '/sso', path: '/sso',

10
src/views/login/aa.vue

@ -0,0 +1,10 @@
<template>
<div>11</div>
</template>
<script lang="ts" setup>
</script>
<style lang="scss" scoped>
</style>
Loading…
Cancel
Save