You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
431 B
25 lines
431 B
|
|
|
|
// 获取全局应用程序实例对象
|
|
const app = getApp();
|
|
|
|
// 创建页面实例对象
|
|
Page({
|
|
onLoad: function () {
|
|
var userstr=wx.getStorageSync('userstr')
|
|
console.log(userstr);
|
|
let user = JSON.parse(userstr);
|
|
console.log(user);
|
|
var that = this
|
|
that.setData({
|
|
userid: user.userid,
|
|
username: user.username,
|
|
userauthor: user.userpassword
|
|
|
|
})
|
|
}
|
|
|
|
|
|
})
|
|
|