This commit is contained in:
shijing 2023-02-03 15:33:35 +08:00
parent 0d533ea8fb
commit 7d7b8aa76f
2 changed files with 20 additions and 24 deletions

View File

@ -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",

View File

@ -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);
},
}
}