123456789101112131415161718192021 |
- const app = getApp()
- Page({
- data: {
- StatusBar: app.globalData.StatusBar,
- CustomBar: app.globalData.CustomBar,
- userInfo:{}
- },
- onLoad: function (opt) {
- app.checkLogin( this.loadData )
- },
- loadData: function ( ) {
- let userInfo = app.getUserInfo()||{};
- this.setData( {userInfo} )
- },
- /**
- * 用户点击右上角分享
- */
- onShareAppMessage: function () {
- }
- })
|