mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-12 10:45:10 +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 href = location.href
|
||||||
const preferGithub = localStorage.getItem('PREFER_GITHUB')
|
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
|
if (cnHref || preferGithub) return
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (this.lang !== Language.CN) return
|
if (this.lang !== Language.CN) return
|
||||||
|
Loading…
Reference in New Issue
Block a user