修改title闪现undefined
parent
d2c2da25b4
commit
71690cfd8f
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
const Cookie = require('js-cookie')
|
const Cookie = require('js-cookie')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
title:Cookie.get('siteName'), //配置显示在浏览器标签的title、底部信息、部分信息展示的值
|
title:Cookie.get('siteName') || 'lilishop', //配置显示在浏览器标签的title、底部信息、部分信息展示的值
|
||||||
icpCard: "", // icp证
|
icpCard: "", // icp证
|
||||||
company: {
|
company: {
|
||||||
href: "https://pickmall.cn",
|
href: "https://pickmall.cn",
|
||||||
|
|
|
@ -12,7 +12,7 @@ export default new Vuex.Store({
|
||||||
navList: [], // 首页快捷导航
|
navList: [], // 首页快捷导航
|
||||||
cartNum: storage.getItem('cartNum') || 0,
|
cartNum: storage.getItem('cartNum') || 0,
|
||||||
logoImg: storage.getItem('logoImg') || require('@/assets/images/logo2.png'),
|
logoImg: storage.getItem('logoImg') || require('@/assets/images/logo2.png'),
|
||||||
siteName:storage.getItem('siteName')|| null,
|
siteName:storage.getItem('siteName')|| 'lilishop',
|
||||||
hotWordsList: storage.getItem('hotWordsList'),
|
hotWordsList: storage.getItem('hotWordsList'),
|
||||||
category: JSON.parse(localStorage.getItem('category'))
|
category: JSON.parse(localStorage.getItem('category'))
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue