mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-18 00:45:54 +08:00
优化buyer端配置信息完善性
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user