vuepress-theme-uniapp-official 1.6.14 → 1.6.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -165,7 +165,7 @@ const crawlerUrl = 'https://zh.uniapp.dcloud.io/'
|
|
|
165
165
|
|
|
166
166
|
const resolveRoutePathFromUrl = (url, base = '/') => {
|
|
167
167
|
if (url.indexOf(crawlerUrl) === 0) {
|
|
168
|
-
return url.replace(crawlerUrl, '
|
|
168
|
+
return url.replace(crawlerUrl, location.origin + '/');
|
|
169
169
|
}
|
|
170
170
|
return url
|
|
171
171
|
// remove url origin
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vuepress-theme-uniapp-official",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.15",
|
|
4
4
|
"description": "uni-app official website theme for vuepress",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"vuepress-plugin-mermaidjs": "1.9.1",
|
|
46
46
|
"vuepress-plugin-named-chunks": "^1.1.4",
|
|
47
47
|
"vuepress-plugin-zooming": "^1.1.8",
|
|
48
|
-
"vuepress-plugin-check-md2": "^1.0.5",
|
|
49
48
|
"vuepress-plugin-noscript-code": "^1.0.2",
|
|
49
|
+
"vuepress-plugin-check-md2": "^1.0.5",
|
|
50
50
|
"vuepress-plugin-expandable-row": "^1.0.10"
|
|
51
51
|
},
|
|
52
52
|
"resolutions": {
|