|
@@ -380,7 +380,7 @@
|
|
|
import compoLang from '../i18n/component.json';
|
|
|
import Element from 'main/index.js';
|
|
|
import themeLoader from './theme/loader';
|
|
|
- import { getTestEle } from './theme/loader/api.js';
|
|
|
+ import { getTestEle, getTestAli } from './theme/loader/api.js';
|
|
|
import bus from '../bus';
|
|
|
import { ACTION_USER_CONFIG_UPDATE } from './theme/constant.js';
|
|
|
|
|
@@ -428,9 +428,19 @@
|
|
|
getTestEle()
|
|
|
.then(() => {
|
|
|
this.$isEle = true;
|
|
|
- ga('send', 'event', 'DocView', 'Inner');
|
|
|
+ ga('send', 'event', 'DocView', 'Ele', 'Inner');
|
|
|
})
|
|
|
.catch((err) => {
|
|
|
+ ga('send', 'event', 'DocView', 'Ele', 'Outer');
|
|
|
+ console.error(err);
|
|
|
+ });
|
|
|
+ getTestAli()
|
|
|
+ .then(() => {
|
|
|
+ this.$isEle = true;
|
|
|
+ ga('send', 'event', 'DocView', 'Ali', 'Inner');
|
|
|
+ })
|
|
|
+ .catch((err) => {
|
|
|
+ ga('send', 'event', 'DocView', 'Ali', 'Outer');
|
|
|
console.error(err);
|
|
|
});
|
|
|
},
|