Commit e917fcc2 authored by 李鹏 's avatar 李鹏

modify logo

parent 74871b38
......@@ -7,6 +7,9 @@
}">
<!-- LOGO -->
<router-link to="/" class="bg-logo">
<img
style="width: 22px; height: 22px"
:src="systemLogo ? JSON.parse(systemLogo)[0].url : getImageUrl('img_logo.png')" />
<span>智能运维管理平台</span>
</router-link>
......@@ -82,6 +85,7 @@
import { mapState, mapMutations } from "vuex";
import { clearCookie } from "../services/cookie.js";
import { resetRouter } from "../router/index";
import { getImageUrl } from "@/services/helper.js";
import { normalizeProps } from "vue-demi";
export default {
......@@ -95,6 +99,7 @@ export default {
},
data() {
return {
getImageUrl,
documentScrollTop: 0,
cartList: [],
showCart: true,
......@@ -158,6 +163,9 @@ export default {
return temp;
},
}),
systemLogo() {
return this.$store.state.systemLogo;
},
},
watch: {
nameFlag(n, o) {
......
......@@ -90,6 +90,7 @@ const getSysOptions = () => {
if (res.data.code == 200) {
const result = res.data.data;
configOptions.value = result;
store.commit("setSystemLogo", configOptions.value.logo);
if (result.license_dead_date && result.license_inform_day) {
calculateValidityDays(
new Date().getTime(),
......
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