|
@@ -1,5 +1,6 @@
|
|
|
import { createRouter, createWebHashHistory } from 'vue-router'
|
|
|
import modelNormal from './modelNormal.js'
|
|
|
+import IOT from "./IOT";
|
|
|
const routes = [
|
|
|
{
|
|
|
path: '/',
|
|
@@ -22,7 +23,7 @@ const routes = [
|
|
|
redirect: "/404"
|
|
|
},
|
|
|
]
|
|
|
-routes[1].children = [...routes[1].children,...modelNormal]
|
|
|
+routes[1].children = [...routes[1].children,...modelNormal,...IOT]
|
|
|
const router = createRouter({
|
|
|
history: createWebHashHistory(),
|
|
|
routes
|