File tree Expand file tree Collapse file tree 1 file changed +18
-8
lines changed
packages/hooks/docs/.vitepress Expand file tree Collapse file tree 1 file changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -71,10 +71,15 @@ export default defineConfig({
71
71
'/' : {
72
72
nav : [
73
73
{ text : '⒡ Hooks' , link : '/useRequest/' } ,
74
- {
75
- text : '演武场' ,
76
- link : 'https://inhiblabcore.github.io/vue-hooks-plus-playground/play' ,
77
- } ,
74
+ isGithub
75
+ ? {
76
+ text : '演武场' ,
77
+ link : 'https://inhiblabcore.github.io/vue-hooks-plus-playground/play' ,
78
+ }
79
+ : {
80
+ text : '演武场' ,
81
+ link : 'https://inhiblab-core.gitee.io/vue-hooks-plus-playground/play' ,
82
+ } ,
78
83
isGithub
79
84
? {
80
85
text : '国内镜像 🇨🇳' ,
@@ -91,10 +96,15 @@ export default defineConfig({
91
96
'/en/' : {
92
97
nav : [
93
98
{ text : '⒡ Hooks' , link : '/en/useRequest/' } ,
94
- {
95
- text : 'Playground' ,
96
- link : 'http://43.138.187.142:9000/vue-hooks-plus/vhp-playground/' ,
97
- } ,
99
+ isGithub
100
+ ? {
101
+ text : 'Playground' ,
102
+ link : 'https://inhiblabcore.github.io/vue-hooks-plus-playground/play' ,
103
+ }
104
+ : {
105
+ text : 'Playground' ,
106
+ link : 'https://inhiblab-core.gitee.io/vue-hooks-plus-playground/play' ,
107
+ } ,
98
108
isGithub
99
109
? {
100
110
text : 'Gitee Mirror 🇨🇳' ,
You can’t perform that action at this time.
0 commit comments