Commit a4b6a23a authored by 张九刚's avatar 张九刚

新增用户状态日志记录功能,并优化了个人页面的代码格式和样式

parent a83705bc
...@@ -178,6 +178,15 @@ const sensorPopLogTake = (logObj) => { ...@@ -178,6 +178,15 @@ const sensorPopLogTake = (logObj) => {
sensorPopLog(evt); sensorPopLog(evt);
}; };
const sensorUserLogTake = (logObj) => {
if (!logObj) {
return;
}
sensors.track("xcxUserStatus", {
...logObj,
});
};
export default { export default {
init, init,
sensors, sensors,
...@@ -188,4 +197,5 @@ export default { ...@@ -188,4 +197,5 @@ export default {
sensorComponentLogTake, sensorComponentLogTake,
sensorPopLog, sensorPopLog,
sensorPopLogTake, sensorPopLogTake,
sensorUserLogTake
}; };
This diff is collapsed.
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