Develop dictionary management function
This commit is contained in:
@@ -2,10 +2,10 @@ import * as VueRouter from 'vue-router'
|
||||
import Practice from "@/pages/practice/index.vue";
|
||||
import Dict from '@/pages/dict'
|
||||
|
||||
const routes = [
|
||||
const routes: any[] = [
|
||||
{path: '/practice', component: Practice},
|
||||
{path: '/dict', component: Dict},
|
||||
{path: '/', redirect:'/dict'},
|
||||
{path: '/dict', name: 'dict', component: Dict},
|
||||
{path: '/', redirect: '/dict'},
|
||||
]
|
||||
|
||||
const router = VueRouter.createRouter({
|
||||
|
||||
Reference in New Issue
Block a user