路由更新,crosrToken接口增加
This commit is contained in:
@@ -10,6 +10,7 @@ import UserList from '@/html/UserList.vue';
|
||||
import Home from '@/html/Home.vue';
|
||||
import DataStatistics from '@/html/DataStatistics.vue';
|
||||
import Cameras from '@/components/Cameras.vue';
|
||||
import Settings from '@/components/Settings.vue';
|
||||
|
||||
const routes = [
|
||||
{
|
||||
@@ -65,6 +66,12 @@ const routes = [
|
||||
name: 'Cameras',
|
||||
component: Cameras,
|
||||
meta: { requiresAuth: true }
|
||||
},
|
||||
{
|
||||
path:'/settings',
|
||||
name: 'Settings',
|
||||
component: Settings,
|
||||
meta: { requiresAuth: true }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user