Commit b109a3ea authored by “yiyousong”'s avatar “yiyousong”

fix:修复返回门户错误

parent 81c4854d
......@@ -21,7 +21,7 @@
初始化区域数据
</a>
<a-tooltip class="header-item" title="返回门户" placement="bottom">
<a :href="portalUrl + path ? path : ''">
<a :href="portalUrl + (path ? path : '')">
<a-icon type="home" /> 返回门户
</a>
</a-tooltip>
......
......@@ -46,7 +46,9 @@
>初始化区域数据</a-button
>
<a-tooltip class="header-item" title="返回门户" placement="bottom">
<a :href="portalUrl + path"> <a-icon type="home" /> 返回门户 </a>
<a :href="portalUrl + (path ? path : '')">
<a-icon type="home" /> 返回门户
</a>
</a-tooltip>
<!-- <a-tooltip class="header-item" title="数据可视化" placement="bottom">
<a href="" target="_blank"> <a-icon type="setting" /> 数据可视化 </a>
......@@ -96,7 +98,7 @@ export default {
{ key: "US", name: "English", alias: "English" },
],
searchActive: false,
portalUrl: process.env.VUE_APP_API_portal_URL,
portalUrl: process.env.VUE_APP_API_portal_URL + "/#",
};
},
computed: {
......
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