ewew
This commit is contained in:
parent
38c440bd23
commit
1c2e924fcd
@ -32,6 +32,7 @@ Page({
|
||||
this.setData({
|
||||
showGetUser: false,
|
||||
userInfo: wx.getStorageSync('user_info'),
|
||||
userAvatar: wx.getStorageSync('user_info').user_avatar || '/static/user.png',
|
||||
});
|
||||
this.getMessages().then(() => {
|
||||
this.sendWelcomeMessage();
|
||||
@ -203,7 +204,8 @@ Page({
|
||||
wx.setStorageSync('user_info', resp);
|
||||
that.setData({
|
||||
showGetUser: false,
|
||||
userInfo: resp
|
||||
userInfo: resp,
|
||||
userAvatar: resp.user_avatar || '/static/user.png',
|
||||
});
|
||||
request('app/user/create', 'post', {
|
||||
"app_id": accountInfo.miniProgram.appId,
|
||||
@ -312,7 +314,7 @@ Page({
|
||||
return;
|
||||
}
|
||||
|
||||
const welcomeText = '你好';
|
||||
const welcomeText = '你好,我有需求';
|
||||
const now = new Date();
|
||||
const id = 'welcome_' + Date.now();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user