mirror of
https://github.com/kailong321200875/vue-element-plus-admin.git
synced 2024-11-27 01:19:56 +08:00
fix: 修复重定向错误
This commit is contained in:
parent
816eba39f1
commit
89d03fd067
@ -73,7 +73,7 @@ const adminList = [
|
||||
{
|
||||
path: '/components',
|
||||
component: '#',
|
||||
redirect: '/components/icon',
|
||||
redirect: '/components/form/default-form',
|
||||
name: 'ComponentsDemo',
|
||||
meta: {
|
||||
title: 'router.component',
|
||||
@ -119,6 +119,7 @@ const adminList = [
|
||||
{
|
||||
path: 'table',
|
||||
component: '##',
|
||||
redirect: '/components/table/default-table',
|
||||
name: 'TableDemo',
|
||||
meta: {
|
||||
title: 'router.table',
|
||||
@ -154,6 +155,7 @@ const adminList = [
|
||||
{
|
||||
path: 'editor-demo',
|
||||
component: '##',
|
||||
redirect: '/components/editor-demo/editor',
|
||||
name: 'EditorDemo',
|
||||
meta: {
|
||||
title: 'router.editor',
|
||||
|
@ -124,7 +124,6 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [
|
||||
{
|
||||
path: '/components',
|
||||
component: Layout,
|
||||
redirect: '/components/icon',
|
||||
name: 'ComponentsDemo',
|
||||
meta: {
|
||||
title: t('router.component'),
|
||||
@ -135,6 +134,7 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [
|
||||
{
|
||||
path: 'form',
|
||||
component: getParentLayout(),
|
||||
redirect: '/components/form/default-form',
|
||||
name: 'Form',
|
||||
meta: {
|
||||
title: t('router.form'),
|
||||
@ -170,6 +170,7 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [
|
||||
{
|
||||
path: 'table',
|
||||
component: getParentLayout(),
|
||||
redirect: '/components/table/default-table',
|
||||
name: 'TableDemo',
|
||||
meta: {
|
||||
title: t('router.table'),
|
||||
@ -205,6 +206,7 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [
|
||||
{
|
||||
path: 'editor-demo',
|
||||
component: getParentLayout(),
|
||||
redirect: '/components/editor-demo/editor',
|
||||
name: 'EditorDemo',
|
||||
meta: {
|
||||
title: t('router.editor'),
|
||||
|
@ -157,6 +157,7 @@ const AddAction = () => {
|
||||
dialogTitle.value = t('exampleDemo.add')
|
||||
tableObject.currentRow = null
|
||||
dialogVisible.value = true
|
||||
actionType.value = ''
|
||||
}
|
||||
|
||||
const delLoading = ref(false)
|
||||
|
Loading…
Reference in New Issue
Block a user