diff --git a/buyer/src/config/index.js b/buyer/src/config/index.js index 8366633f..e3fd5c56 100644 --- a/buyer/src/config/index.js +++ b/buyer/src/config/index.js @@ -1,7 +1,7 @@ const Cookie = require('js-cookie') module.exports = { - title:Cookie.get('siteName'), //配置显示在浏览器标签的title、底部信息、部分信息展示的值 + title:Cookie.get('siteName') || 'lilishop', //配置显示在浏览器标签的title、底部信息、部分信息展示的值 icpCard: "", // icp证 company: { href: "https://pickmall.cn", diff --git a/buyer/src/vuex/store.js b/buyer/src/vuex/store.js index c97b6f06..e1e374bd 100644 --- a/buyer/src/vuex/store.js +++ b/buyer/src/vuex/store.js @@ -12,7 +12,7 @@ export default new Vuex.Store({ navList: [], // 首页快捷导航 cartNum: storage.getItem('cartNum') || 0, logoImg: storage.getItem('logoImg') || require('@/assets/images/logo2.png'), - siteName:storage.getItem('siteName')|| null, + siteName:storage.getItem('siteName')|| 'lilishop', hotWordsList: storage.getItem('hotWordsList'), category: JSON.parse(localStorage.getItem('category')) },