|
@@ -793,17 +793,17 @@ export default {
|
|
|
const shellVersion = window.navigator.userAgent
|
|
|
.split(" ")
|
|
|
.find(v => v.startsWith("electron-exam-shell/"));
|
|
|
+ const chromeVersion = window.navigator.userAgent
|
|
|
+ .split(" ")
|
|
|
+ .find(v => v.startsWith("Chrome/"));
|
|
|
if (shellVersion) {
|
|
|
window._hmt.push([
|
|
|
"_trackEvent",
|
|
|
"登录页面",
|
|
|
"学生端版本",
|
|
|
- shellVersion,
|
|
|
+ shellVersion + "/" + chromeVersion,
|
|
|
]);
|
|
|
} else {
|
|
|
- const chromeVersion = window.navigator.userAgent
|
|
|
- .split(" ")
|
|
|
- .find(v => v.startsWith("Chrome/"));
|
|
|
if (chromeVersion) {
|
|
|
window._hmt.push([
|
|
|
"_trackEvent",
|