Commit cb8e4584 authored by wangxuelai's avatar wangxuelai

''

parent 12963792
......@@ -5,13 +5,13 @@ import {
import {
LocalStorage
} from './utilities/index.js';
import tracker from './js/tracker_es.min.js'
tracker({
token: "c92deb3f301e16682ecf598120083403",
behaviour: 15,
optimisedForSPA: true,
useHistory: true
})
// import tracker from './js/tracker_es.min.js'
// tracker({
// token: "c92deb3f301e16682ecf598120083403",
// behaviour: 15,
// optimisedForSPA: true,
// useHistory: true
// })
App({
onLaunch: function (params) { // 小程序初始化完成时(全局只触发一次)
const {path, query, scene, shareTicket, referrerInfo} = params;
......
......@@ -32,10 +32,10 @@ import {
} from '../service/customer/schoolindex.js';
import apis from '../constants/api.js';
var app = getApp();
let visitor = LocalStorage.getItem('visitor');
if (visitor && visitor.userInfo) {
app.FrontJS.addUserData('userInfo', JSON.stringify(visitor.userInfo))
}
// let visitor = LocalStorage.getItem('visitor');
// if (visitor && visitor.userInfo) {
// app.FrontJS.addUserData('userInfo', JSON.stringify(visitor.userInfo))
// }
Page({
data: {
imageRoot: app.globalData.imageRoot,
......
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