Update demo and some config

This commit is contained in:
chengpeiquan 2019-12-20 00:55:24 +08:00
parent 676df4906b
commit 8179ef8425
2 changed files with 5 additions and 5 deletions

View File

@ -7,9 +7,9 @@ import baiduAnalytics from '@lib/vue-baidu-analytics'
Vue.use(baiduAnalytics, {
router: router,
siteIdList: [
'7d6465217b1b44018c4557d9e7d804eb',
'4cacea1098b6c4d16990a04abd93c9a9',
'5be8daec4f7dd86255ae9320369c7678'
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb',
'cccccccccccccccccccccccccccccccc'
],
debug: true
});

View File

@ -28,8 +28,8 @@ const routes = [
]
const router = new VueRouter({
base: process.env.NODE_ENV === 'production' ? location.pathname.split('/').slice(0, 2).join('/') : '/',
mode: 'history',
// base: process.env.NODE_ENV === 'production' ? location.pathname.split('/').slice(0, 2).join('/') : '/',
// mode: 'history',
linkActiveClass: 'cur',
linkExactActiveClass: 'cur',
routes