fix(docs): fix link gitee sites confirm keep appearing (#3720)

This commit is contained in:
btea
2021-09-28 23:44:57 -05:00
committed by GitHub
parent 48a830d9eb
commit 48834fe98b

View File

@@ -55,6 +55,7 @@ onMounted(async () => {
)
if (lang.value === 'zh-CN') {
if (location.host === 'element-plus.gitee.io') return
try {
await ElMessageBox.confirm(
'建议大陆用户访问部署在国内的站点,是否跳转?',