You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
513 B
JavaScript

// app.js
var $ = require("./utils/util.js");
App({
onLaunch: function() {
let that = this;
// 从本地调取缓存
// if ($.getLocalStorage('token') !== undefined && $.getLocalStorage('userInfo') !== undefined) {
// that.globalData.userInfo = $.getLocalStorage('userInfo')
// }else{
// wx.navigateTo({
// url: '/pages/home/home',
// })
// }
},
globalData: {
userInfo: null,
cbfbm: null,
API: 'https://fx.hopetrytech.com:8011',
}
})