优化buyer端配置信息完善性

This commit is contained in:
lemon橪
2021-11-18 17:10:44 +08:00
parent 1ac5dcfe25
commit 6c6b89f512
12 changed files with 21 additions and 30 deletions

View File

@@ -10,6 +10,7 @@ import storage from '@/plugins/storage';
// 全局引入封装组件
import {InstallAll} from '@/components/global.js';
let title = require('@/config').title
Vue.use(ViewUI);
Vue.use(InstallAll);
Vue.config.productionTip = false;
@@ -20,7 +21,7 @@ Object.keys(filters).forEach(key => {
router.beforeEach((to, from, next) => {
ViewUI.LoadingBar.start();
window.document.title = to.meta.title === undefined ? 'lili shop' : to.meta.title
window.document.title = to.meta.title === undefined ? title : to.meta.title
next();
});