Commit 87e3a578 authored by 姬鋆屾's avatar 姬鋆屾

tui

parent d9ecf4f4
...@@ -2,4 +2,5 @@ ...@@ -2,4 +2,5 @@
NODE_ENV = "development" NODE_ENV = "development"
# VUE_APP_API_BASE_URL= http://112.19.80.237:11039 # VUE_APP_API_BASE_URL= http://112.19.80.237:11039
VUE_APP_API_BASE_URL= http://192.168.0.98:11039 VUE_APP_API_BASE_URL= http://192.168.0.98:11039
VUE_APP_API_ZWFW_URL= http://112.19.80.237:11031 VUE_APP_API_ZWFW_URL= http://112.19.80.237:11031
\ No newline at end of file VUE_APP_PORTAL_URL = /portal_home
\ No newline at end of file
...@@ -47,6 +47,14 @@ ...@@ -47,6 +47,14 @@
首页</i 首页</i
> >
</div> </div>
<a class="controllBar" :href="portal" style="color: #fff;">
<i
class="el-icon-arrow-left"
style="font-size: 15px; margin-right: 10px"
>
返回门户</i
>
</a>
<div class="layout-profile"> <div class="layout-profile">
<el-dropdown @command="handleCommand"> <el-dropdown @command="handleCommand">
...@@ -101,6 +109,9 @@ export default { ...@@ -101,6 +109,9 @@ export default {
returnHome() { returnHome() {
this.$router.replace({ path: "/" }); this.$router.replace({ path: "/" });
}, },
returnOrigin() {
this.$router.replace({ path: "/" });
},
handleCommand(key) { handleCommand(key) {
if (key === "update") { if (key === "update") {
this.$router.push("/login/updatePwd"); this.$router.push("/login/updatePwd");
...@@ -178,6 +189,7 @@ export default { ...@@ -178,6 +189,7 @@ export default {
sysLogo: localStorage.getItem("sysLogo") sysLogo: localStorage.getItem("sysLogo")
? localStorage.getItem("sysLogo") ? localStorage.getItem("sysLogo")
: "", : "",
portal: process.env.VUE_APP_PORTAL_URL + "/#/home/siteArrange",
}; };
}, },
created() {}, created() {},
......
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