Commit 76c43d45 authored by 王晓旭's avatar 王晓旭

提交bug

parent e5287eb0
......@@ -7,7 +7,8 @@ VUE_APP_BASE_API =/basics_api
# 门户登录地址
VUE_APP_PORTAL_URL = /portal_home
# VUE_APP_PORTAL_URL = /portal_home
VUE_APP_PORTAL_URL = http://192.168.0.98:11072
VUE_APP_PORTAL_PORT = 21085
......
......@@ -41,7 +41,13 @@
{{userData.currUserName}}
<i class="el-icon-arrow-down el-icon--right"></i>
</span> -->
<span class="admin-header-right">
<a-tooltip class="header-item" title="返回门户" placement="bottom">
<a :href="portal">
<i class="el-icon-s-home"></i> 返回门户
</a>
</a-tooltip>
</span>
<el-dropdown @command="handleCommand">
<span class="el-dropdown-link" style="color:white">
{{ userData.currUserName }}
......@@ -49,7 +55,7 @@
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="update">修改密码</el-dropdown-item>
<el-dropdown-item command="logout">退出登录</el-dropdown-item>
<!-- <el-dropdown-item command="logout">退出登录</el-dropdown-item> -->
</el-dropdown-menu>
</el-dropdown>
</div>
......@@ -202,6 +208,7 @@ export default {
sysLogo: localStorage.getItem("sysLogo")
? localStorage.getItem("sysLogo")
: "",
portal: process.env.VUE_APP_PORTAL_URL+'/#/home/siteArrange',//门户地址
};
},
};
......@@ -209,6 +216,21 @@ export default {
<style lang="less">
.layout-header {
.admin-header-right{
color: inherit;
.header-item{
color: inherit;
padding: 0 12px;
cursor: pointer;
align-self: center;
a{
color: inherit;
i{
font-size: 16px;
}
}
}
}
.mobile-menu-list {
display: none;
}
......
......@@ -126,3 +126,9 @@
}
};
</script>
<style lang="less" scoped>
/deep/ .table-head{
display: none !important;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment