提交 8763b26a 编写于 作者: D DCloud_LXH

chore: update theme to 1.1.6

上级 a53633c3
......@@ -13,7 +13,8 @@ const config = {
rel: 'shortcut icon',
type: 'image/x-icon',
href: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-a90b5f95-90ba-4d30-a6a7-cd4d057327db/d23e842c-58fc-4574-998d-17fdc7811cc3.png?v=1556263038788'
}]
}],
['script', { src: '/js/redirect.js' }]
],
locales: {
'/': {
......@@ -42,7 +43,8 @@ const config = {
indexName: 'zh-uniapp',
appId: 'PQIR5NL8CZ',
searchParameters: { hitsPerPage: 50 }
}
},
isDevelopment: process.env.NODE_ENV === 'development'
},
markdown: {
// toc: { includeLevel: [1, 2, 3, 4] },
......
const { host, pathname } = location
if (host === 'uniapp.dcloud.io') {
var website_ZH = 'https://uniapp.dcloud.net.cn';
var website_EN = 'https://en.uniapp.dcloud.io';
var website_finally =
navigator.language.indexOf('zh') !== -1
? website_ZH
: website_EN;
window.location.href = website_finally + pathname;
}
\ No newline at end of file
......@@ -31,6 +31,6 @@
},
"dependencies": {
"@docsearch/js": "^3.1.0",
"vuepress-theme-uni-app-test": "^1.1.5"
"vuepress-theme-uni-app-test": "^1.1.6"
}
}
\ No newline at end of file
......@@ -8477,10 +8477,10 @@ vuepress-theme-uni-app-test@^1.1.2:
vuepress-plugin-juejin-style-copy "^1.0.4"
vuepress-theme-uni-app-test "^1.1.2"
vuepress-theme-uni-app-test@^1.1.5:
version "1.1.5"
resolved "https://registry.yarnpkg.com/vuepress-theme-uni-app-test/-/vuepress-theme-uni-app-test-1.1.5.tgz#6fca8abe2d1a8ff829c088cc25488bf789e09eb7"
integrity sha512-EisN3pqJMYWBHoBP2DSJ3PqoX5veStrnT58JfmeITaYADy+tuFOX0aTkbIvT/xtUt5632tvUBQ+5WRlqq9RlcA==
vuepress-theme-uni-app-test@^1.1.6:
version "1.1.6"
resolved "https://registry.yarnpkg.com/vuepress-theme-uni-app-test/-/vuepress-theme-uni-app-test-1.1.6.tgz#3421ac614064becff36172fb598b7088139233b2"
integrity sha512-nRj3gW7T1eUjIRqyOFIHn6UcUcPS+SfuapBYDE+dBg2nrA3KIUfUBHTbPOOjSeul2wgkGT0C6PDzh69y1Nk4rA==
dependencies:
"@vuepress/plugin-back-to-top" "^1.9.5"
"@vuepress/theme-default" "^1.8.2"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册