|
@@ -537,6 +537,13 @@ export default {
|
|
|
}
|
|
|
this.$router.push("/online-exam");
|
|
|
window._hmt.push(["_trackEvent", "登录页面", "登录成功"]);
|
|
|
+ let userIds = JSON.parse(localStorage.getItem("userIds"));
|
|
|
+ userIds = [...new Set(userIds).add(user.id)];
|
|
|
+ localStorage.setItem("userIds", JSON.stringify(userIds));
|
|
|
+
|
|
|
+ // 学习中心机器
|
|
|
+ // (JSON.parse(localStorage.getItem("userIds")) || []).length > 5;
|
|
|
+
|
|
|
this.$Spin.hide();
|
|
|
} catch (error) {
|
|
|
window._hmt.push([
|