master
Mr.sun 2 years ago
parent ee218fae9b
commit 95829454cf
  1. 45
      src/layout/components/Sidebar/Logo.vue

@ -16,7 +16,11 @@
class="sidebar-logo-link"
to="/"
>
<img v-if="logo" :src="logo" class="sidebar-logo" />
<img
v-if="logo"
:src="logo"
class="sidebar-logo"
/>
<!-- <span v-if="logo" class="sidebar-logo-custom">WMS</span> -->
<h1
@ -32,9 +36,18 @@
{{ title }}
</h1>
</router-link>
<router-link v-else key="expand" class="sidebar-logo-link" to="/">
<router-link
v-else
key="expand"
class="sidebar-logo-link"
to="/"
>
<!-- <h1 class="sidebar-title" >111</h1> -->
<img v-if="logo" :src="logo" class="sidebar-logo" />
<img
v-if="logo"
:src="logo"
class="sidebar-logo"
/>
<!-- <span v-if="logo" class="sidebar-logo-custom">WMS</span> -->
<h1
class="sidebar-title"
@ -53,33 +66,33 @@
</template>
<script>
import logoImg from "@/assets/logo/ycxk.png";
import variables from "@/assets/styles/_customVariables.scss";
import logoImg from '@/assets/logo/ycxk.png'
import variables from '@/assets/styles/_customVariables.scss'
export default {
name: "SidebarLogo",
name: 'SidebarLogo',
props: {
collapse: {
type: Boolean,
required: true,
},
required: true
}
},
computed: {
variables() {
return variables;
return variables
},
sideTheme() {
return this.$store.state.settings.sideTheme;
},
return this.$store.state.settings.sideTheme
}
},
data() {
return {
title: "亦大通仓库管理系统",
title: '常崟仓库管理系统',
// logo: logoImg,
logo: '',
};
},
};
logo: ''
}
}
}
</script>
<style lang="scss" scoped>

Loading…
Cancel
Save