|
@@ -47,21 +47,21 @@ import { RouterView, useRouter, useRoute } from 'vue-router'
|
|
|
|
|
|
const menuList = ref([
|
|
|
{ menuName: '数据中心', routeName: 'DataCenter' },
|
|
|
- { menuName: '工具中心', routeName: 'ToolsCenter' },
|
|
|
+ // { menuName: '工具中心', routeName: 'ToolsCenter' },
|
|
|
{ menuName: '开发中心', routeName: 'DevCenter',
|
|
|
children: [
|
|
|
{ menuName: '开发文档', routeName: 'DevDocs' },
|
|
|
{ menuName: '在线测试', routeName: 'OnlineTest' },
|
|
|
]
|
|
|
},
|
|
|
- { menuName: '场景定制', routeName: 'SceneCustomize' },
|
|
|
- // { menuName: '在线制图', routeName: 'OnlineDraw' },
|
|
|
+ // { menuName: '场景定制', routeName: 'SceneCustomize' },
|
|
|
{ menuName: '个人中心', routeName: 'PersonalCenter',
|
|
|
children: [
|
|
|
{ menuName: '我的工具', routeName: 'MyTools' },
|
|
|
{ menuName: '我的资源', routeName: 'MyResources' },
|
|
|
]
|
|
|
},
|
|
|
+ { menuName: '大屏系统', routeName: 'OnlineDraw' },
|
|
|
])
|
|
|
|
|
|
const route = reactive(useRoute())
|
|
@@ -73,6 +73,11 @@ const currentMenu = computed(() => {
|
|
|
const router = reactive(useRouter())
|
|
|
|
|
|
function handleChangeRoute(route) {
|
|
|
+ // console.log("route")
|
|
|
+ if("OnlineDraw" == route){
|
|
|
+ window.open("http://172.20.105.160:6080/dapin")
|
|
|
+ return
|
|
|
+ }
|
|
|
router.push({
|
|
|
name: route
|
|
|
})
|