Commit cf89c018 authored by cc's avatar cc

update

parent d1cc30c1
...@@ -7,7 +7,8 @@ import API from "@src/api"; ...@@ -7,7 +7,8 @@ import API from "@src/api";
import {_asyncThrottle, getUrlParam} from "@src/utils/utils"; import {_asyncThrottle, getUrlParam} from "@src/utils/utils";
import {REG_TEL} from "@src/utils/constants"; import {REG_TEL} from "@src/utils/constants";
import modalStore from "@src/store/modal"; import modalStore from "@src/store/modal";
import {LOG_KEY, pageView, sensorLog} from "@src/utils/sensors"; import { ModalCtrl } from "@/core/ctrls/ModalCtrl";
import { LOG_KEY, MatterShareOpt, MatterViewDuration, MatterViewOpt, pageView, sensorLog } from "../../utils/sensors.js";
@observer @observer
class LoginPop extends React.Component { class LoginPop extends React.Component {
...@@ -21,14 +22,14 @@ class LoginPop extends React.Component { ...@@ -21,14 +22,14 @@ class LoginPop extends React.Component {
}; };
componentDidMount() { componentDidMount() {
pageView("b12830", { pageView("b14257", {
page_name: "手机号登录页", page_name: "手机号登录页",
}); });
sensorLog(LOG_KEY.exposure, "b12830", "d12832", { sensorLog(LOG_KEY.exposure, "b14257", "d14260", {
page_name: "手机号登录页", page_name: "手机号登录页",
button_name: "登录按钮", button_name: "登录按钮",
}); });
sensorLog(LOG_KEY.exposure, "b12830", "d12831", { sensorLog(LOG_KEY.exposure, "b14257", "d14258", {
page_name: "手机号登录页", page_name: "手机号登录页",
button_name: "发送验证码按钮", button_name: "发送验证码按钮",
}); });
...@@ -53,7 +54,7 @@ class LoginPop extends React.Component { ...@@ -53,7 +54,7 @@ class LoginPop extends React.Component {
}; };
clickSend = _asyncThrottle(async () => { clickSend = _asyncThrottle(async () => {
sensorLog(LOG_KEY.click, "b12830", "d12831", { sensorLog(LOG_KEY.click, "b14257", "d14258", {
page_name: "手机号登录页", page_name: "手机号登录页",
button_name: "发送验证码按钮", button_name: "发送验证码按钮",
}); });
...@@ -69,7 +70,7 @@ class LoginPop extends React.Component { ...@@ -69,7 +70,7 @@ class LoginPop extends React.Component {
}); });
closeLogin = _asyncThrottle(async () => { closeLogin = _asyncThrottle(async () => {
sensorLog(LOG_KEY.click, "b12830", "d12832", { sensorLog(LOG_KEY.click, "b14257", "d14260", {
page_name: "手机号登录页", page_name: "手机号登录页",
button_name: "登录按钮", button_name: "登录按钮",
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment