提交 024d68d5 编写于 作者: D DCloud_LXH

update: 默认使用新版文档

上级 d1f34a1b
......@@ -189,7 +189,7 @@ export default {
forbidScroll(this.showMobilePanel)
},
switchVersion () {
document.cookie = encodeURIComponent('__new_version') + "=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"
document.cookie = encodeURIComponent('__new_version') + "=__new_version; path=/"
location.replace(location.origin + '?v=' + Date.now())
}
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册