1.修复参数解析bug
2. 增加查看计划详情的界面
This commit is contained in:
@@ -3,6 +3,7 @@ import Login from '../pages/Login.vue'
|
||||
import Dashboard from '../pages/Dashboard.vue'
|
||||
import Device from '../pages/Device.vue'
|
||||
import FeedPlan from '../pages/FeedPlan.vue'
|
||||
import FeedPlanDetail from '../pages/FeedPlanDetail.vue'
|
||||
|
||||
const routes = [
|
||||
{
|
||||
@@ -27,6 +28,13 @@ const routes = [
|
||||
name: 'FeedPlan',
|
||||
component: FeedPlan,
|
||||
meta: { requiresAuth: true }
|
||||
},
|
||||
{
|
||||
path: '/feed/plan/detail/:id',
|
||||
name: 'FeedPlanDetail',
|
||||
component: FeedPlanDetail,
|
||||
meta: { requiresAuth: true },
|
||||
props: true
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user