0203
This commit is contained in:
parent
0d533ea8fb
commit
7d7b8aa76f
|
@ -48,6 +48,18 @@ const routes = [
|
||||||
},
|
},
|
||||||
"component": "home"
|
"component": "home"
|
||||||
},
|
},
|
||||||
|
// {
|
||||||
|
// "path": "/bigScreen",
|
||||||
|
// "name": "bigScreen",
|
||||||
|
// "meta": {
|
||||||
|
// "title": "驾驶舱",
|
||||||
|
// "icon": "el-icon-position",
|
||||||
|
// "perms": ["bigScreen"],
|
||||||
|
// "fullpage": true,
|
||||||
|
// },
|
||||||
|
// "component": "bigScreen"
|
||||||
|
// },
|
||||||
|
|
||||||
{
|
{
|
||||||
"path": "/bigScreen",
|
"path": "/bigScreen",
|
||||||
"name": "bigScreen",
|
"name": "bigScreen",
|
||||||
|
@ -55,11 +67,12 @@ const routes = [
|
||||||
"title": "驾驶舱",
|
"title": "驾驶舱",
|
||||||
"icon": "el-icon-position",
|
"icon": "el-icon-position",
|
||||||
"perms": ["bigScreen"],
|
"perms": ["bigScreen"],
|
||||||
|
"type": "link",
|
||||||
"fullpage": true,
|
"fullpage": true,
|
||||||
},
|
},
|
||||||
"component": "bigScreen"
|
"component": "bigScreen"
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// "path": "/bigScreen",
|
// "path": "/bigScreen",
|
||||||
// "name": "bigScreens",
|
// "name": "bigScreens",
|
||||||
// "meta": {
|
// "meta": {
|
||||||
|
@ -71,19 +84,6 @@ const routes = [
|
||||||
// },
|
// },
|
||||||
// "component": "bigScreen"
|
// "component": "bigScreen"
|
||||||
// },
|
// },
|
||||||
// {
|
|
||||||
// "path": "/bigScreen",
|
|
||||||
// "name": "bigScreen",
|
|
||||||
// "meta": {
|
|
||||||
// "title": "驾驶舱",
|
|
||||||
// "icon": "el-icon-position",
|
|
||||||
// "perms": ["bigScreen"],
|
|
||||||
// "type": "link",
|
|
||||||
// "fullpage": true,
|
|
||||||
|
|
||||||
// },
|
|
||||||
// },
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "userCenter",
|
"name": "userCenter",
|
||||||
"path": "/usercenter",
|
"path": "/usercenter",
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'NavMenu',
|
name: 'NavMenu',
|
||||||
props: ['navMenus'],
|
props: ['navMenus'],
|
||||||
|
@ -37,15 +36,12 @@
|
||||||
blankPageClick(path){
|
blankPageClick(path){
|
||||||
// console.log(window.location);
|
// console.log(window.location);
|
||||||
// console.log(path);
|
// console.log(path);
|
||||||
let linkUrl = window.location.origin+"/#"+path;
|
// let linkUrl = window.location.origin+"/#"+path;
|
||||||
console.log(linkUrl)
|
|
||||||
debugger;
|
|
||||||
|
|
||||||
|
|
||||||
let routeUrl = this.$router.resolve({path: path});
|
let routeUrl = this.$router.resolve({path: path});
|
||||||
|
console.log(routeUrl.href)
|
||||||
window.open(routeUrl.href, '_blank');
|
debugger;
|
||||||
// window.open(linkUrl,'_blank');
|
window.open(routeUrl.href);
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue