bugfix
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
class="sidebar-logo-link"
|
||||
to="/"
|
||||
>
|
||||
<img v-if="logoSmall" :src="logoSmall" class="sidebar-logo-small" />
|
||||
<img v-if="logoSmall" :src="logoSmall" class="sidebar-logo-small"/>
|
||||
<h1
|
||||
v-else
|
||||
class="sidebar-title"
|
||||
@ -31,8 +31,11 @@
|
||||
</h1>
|
||||
</router-link>
|
||||
<router-link v-else key="expand" class="sidebar-logo-link" to="/">
|
||||
<img v-if="logo" :src="logo" class="sidebar-logo" />
|
||||
<!-- <h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }}</h1> -->
|
||||
<!-- <img v-if="logo" :src="logo" class="sidebar-logo" />-->
|
||||
<!-- <h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }}</h1>-->
|
||||
<h1 class="sidebar-title"
|
||||
:style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">
|
||||
咸海生态治理国际科技产业合作信息化平台</h1>
|
||||
</router-link>
|
||||
</transition>
|
||||
</div>
|
||||
@ -78,12 +81,14 @@ const sideTheme = computed(() => settingsStore.sideTheme);
|
||||
& .sidebar-logo-link {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
|
||||
& .sidebar-logo {
|
||||
width: 75px;
|
||||
height: 22px;
|
||||
vertical-align: middle;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
& .sidebar-logo-small {
|
||||
// width: 32px;
|
||||
width: unset;
|
||||
|
@ -32,8 +32,8 @@ export default defineConfig(({ mode, command }) => {
|
||||
// https://cn.vitejs.dev/config/#server-proxy
|
||||
"/dev-api": {
|
||||
// target: "http://192.168.110.10:1618",
|
||||
// target: 'http://101.34.131.16:1618',
|
||||
target: "http://101.34.251.155:81/api",
|
||||
target: 'http://101.34.131.16:81/api',
|
||||
// target: "http://101.34.251.155:81/api",
|
||||
changeOrigin: true,
|
||||
rewrite: (p) => p.replace(/^\/dev-api/, ""),
|
||||
},
|
||||
|
Reference in New Issue
Block a user