修改title闪现undefined

master
mhhhh 2022-06-06 16:08:58 +08:00
parent d2c2da25b4
commit 71690cfd8f
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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'))
}, },