Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit 8179ef8

Browse files
committed
Update demo and some config
1 parent 676df49 commit 8179ef8

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import baiduAnalytics from '@lib/vue-baidu-analytics'
77
Vue.use(baiduAnalytics, {
88
router: router,
99
siteIdList: [
10-
'7d6465217b1b44018c4557d9e7d804eb',
11-
'4cacea1098b6c4d16990a04abd93c9a9',
12-
'5be8daec4f7dd86255ae9320369c7678'
10+
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
11+
'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb',
12+
'cccccccccccccccccccccccccccccccc'
1313
],
1414
debug: true
1515
});

src/router/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ const routes = [
2828
]
2929

3030
const router = new VueRouter({
31-
base: process.env.NODE_ENV === 'production' ? location.pathname.split('/').slice(0, 2).join('/') : '/',
32-
mode: 'history',
31+
// base: process.env.NODE_ENV === 'production' ? location.pathname.split('/').slice(0, 2).join('/') : '/',
32+
// mode: 'history',
3333
linkActiveClass: 'cur',
3434
linkExactActiveClass: 'cur',
3535
routes

0 commit comments

Comments
 (0)