提交 deae7bb0 编写于 作者: D dolymood

docs(site): add gitee

上级 52876792
......@@ -32,7 +32,7 @@ export function getCurrentLang() {
return defaultLang
}
const baseUrl = process.env.NODE_ENV === 'production' ? 'https://didi.github.io/cube-ui/example/#/' : `http://${window.location.hostname}:8081/#/`
const baseUrl = process.env.NODE_ENV === 'production' ? `${window.location.href.replace(/#.*$/, '')}example/` : `http://${window.location.hostname}:8081/#/`
const eventHub = new Vue()
......
......@@ -6,6 +6,8 @@
<div class="example-desc">
<a :href="baseUrl" class="online-link">Online Example</a>
<img src="./example-QR.png">
On Gitee
<img src="./example-QR2.png">
</div>
</div>
</div>
......
......@@ -8633,7 +8633,7 @@
},
"onetime": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz",
"resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz",
"integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=",
"dev": true
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册