|
@@ -227,6 +227,8 @@
|
|
|
|
|
|
methods: {
|
|
methods: {
|
|
suggestJump() {
|
|
suggestJump() {
|
|
|
|
+ if (process.env.NODE_ENV !== 'production') return;
|
|
|
|
+
|
|
const href = location.href;
|
|
const href = location.href;
|
|
const preferGithub = localStorage.getItem('PREFER_GITHUB');
|
|
const preferGithub = localStorage.getItem('PREFER_GITHUB');
|
|
if (href.indexOf('element-cn') > -1 || preferGithub) return;
|
|
if (href.indexOf('element-cn') > -1 || preferGithub) return;
|