From 71690cfd8fddbd8e6c2a23f4f9bcaff5cb232043 Mon Sep 17 00:00:00 2001 From: mhhhh Date: Mon, 6 Jun 2022 16:08:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9title=E9=97=AA=E7=8E=B0undefi?= =?UTF-8?q?ned?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/config/index.js | 2 +- buyer/src/vuex/store.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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')) },