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