mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2025-04-05 19:42:07 +08:00
v4.1.2,紧急修复路由配置错误导致无限重定向至首页问题
This commit is contained in:
parent
6b0dd35975
commit
918cec5f4c
@ -1,5 +1,11 @@
|
||||
# CHANGE LOG
|
||||
|
||||
## 4.1.2
|
||||
|
||||
### Fixes
|
||||
|
||||
- 紧急修复由于路由配置错误,导致无限重定向至首页问题
|
||||
|
||||
## 4.1.1
|
||||
|
||||
### Feats
|
||||
|
@ -4,7 +4,7 @@ import { LAYOUT } from '@/router/constant/index'
|
||||
import type { AppRouteRecordRaw } from '@/router/type'
|
||||
|
||||
const doc: AppRouteRecordRaw = {
|
||||
path: '',
|
||||
path: '/doc',
|
||||
name: 'RDocLayout',
|
||||
component: LAYOUT,
|
||||
meta: {
|
||||
@ -14,7 +14,7 @@ const doc: AppRouteRecordRaw = {
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: '/doc',
|
||||
path: 'doc-inside',
|
||||
name: 'RDocInside',
|
||||
component: () => import('@/views/doc/index'),
|
||||
meta: {
|
||||
@ -22,7 +22,7 @@ const doc: AppRouteRecordRaw = {
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '',
|
||||
path: 'doc-outside',
|
||||
name: 'RDoc',
|
||||
component: LAYOUT,
|
||||
meta: {
|
||||
@ -31,7 +31,7 @@ const doc: AppRouteRecordRaw = {
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '',
|
||||
path: 'doc-outside-local',
|
||||
name: 'RDocLocal',
|
||||
component: LAYOUT,
|
||||
meta: {
|
||||
|
@ -22,6 +22,7 @@ const RTemplateDoc = defineComponent({
|
||||
width="100%"
|
||||
height="100%"
|
||||
src="https://ray-template.yunkuangao.com/ray-template-doc/"
|
||||
lazy
|
||||
></RayIframe>
|
||||
)
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user