Commit 7dd76a03 authored by gengchunlei's avatar gengchunlei

慢综 医生端 路由重定向

parent 2f00b6b6
import { createRouter, createWebHashHistory } from 'vue-router'
const routes = [
{
path: '/doctor',
name: 'Home',
redirect: '/doctor/followUp/list'
},
{
path: '/resident',
name: 'resident',
......@@ -65,7 +70,7 @@ const routes = [
path: 'visit',
name: 'doctor-resident-visit',
component: () => import(/* webpackChunkName: "page-doctor" */ '@/doctor/resident/Visit.vue')
},
}
]
},
//修改基本信息
......@@ -73,14 +78,14 @@ const routes = [
path: 'resident/base/update',
name: 'doctor-resident-base-update',
component: () => import(/* webpackChunkName: "page-doctor" */ '@/doctor/resident/form/BaseInfo.vue')
},
}
]
}
]
const router = createRouter({
history: createWebHashHistory(),
routes
history: createWebHashHistory(),
routes
})
export default router
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment