|
@@ -35,7 +35,7 @@
|
|
|
v-if="!item.children || item.children.length === 0"
|
|
|
>
|
|
|
<a
|
|
|
- :href="`/${item.path}`"
|
|
|
+ :href="`${prefixPath}${item.path}`"
|
|
|
class="el-level-path"
|
|
|
:style="`display: block;color:${
|
|
|
item.path === activePath
|
|
@@ -97,7 +97,7 @@
|
|
|
v-if="!second.children || second.children.length === 0"
|
|
|
>
|
|
|
<a
|
|
|
- :href="`/${second.path}`"
|
|
|
+ :href="`${prefixPath}${second.path}`"
|
|
|
:style="`display: flex;align-items:center;color:${
|
|
|
second.path === activePath
|
|
|
? $setting.theme_color
|
|
@@ -506,6 +506,10 @@ export default {
|
|
|
|
|
|
logoLarge() {
|
|
|
return this.$store.state.baseInfo.logoCh || this.$setting.g_logo
|
|
|
+ },
|
|
|
+
|
|
|
+ prefixPath() {
|
|
|
+ return process.env.VUE_APP_BASE_URL
|
|
|
}
|
|
|
},
|
|
|
data() {
|