mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +08:00
chore: update (#561)
This commit is contained in:
parent
023bafffca
commit
bdd287770a
@ -72,7 +72,7 @@ export default {
|
||||
|
||||
const href = location.href
|
||||
const preferGithub = localStorage.getItem('PREFER_GITHUB')
|
||||
const cnHref = href.indexOf('eleme.cn') > -1 || href.indexOf('element-cn') > -1 || href.indexOf('element.faas') > -1
|
||||
const cnHref = href.indexOf('element-plus.gitee.io') > -1
|
||||
if (cnHref || preferGithub) return
|
||||
setTimeout(() => {
|
||||
if (this.lang !== Language.CN) return
|
||||
|
Loading…
Reference in New Issue
Block a user