Skip to content

Commit b1d2891

Browse files
committed
fix build bug
1 parent 3fbe7ef commit b1d2891

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/.vuepress/theme/Home.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export default {
7171
return this.$lang === 'zh-CN'
7272
},
7373
isGitee() {
74+
if (this.$isServer) return
7475
return isGitee()
7576
},
7677
data() {

docs/.vuepress/theme/Layout.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ export default {
127127
return path.includes('donate')
128128
},
129129
isGitee() {
130+
if (this.$isServer) return
130131
return isGitee()
131132
},
132133
isCN() {

0 commit comments

Comments
 (0)