Merge pull request 'xbx' (#55) from xbx into master

Reviewed-on: http://git.luyuan.tk/luyuan/demingshangjia/pulls/55
This commit is contained in:
luyuan 2020-08-15 15:58:53 +08:00
commit 960f0453ec
2 changed files with 4 additions and 3 deletions

View File

@ -147,7 +147,7 @@ export default {
this.getallorder(0); this.getallorder(0);
const user = uni.getStorageSync('userinfo'); const user = uni.getStorageSync('userinfo');
console.log(user) console.log(user)
this.imService.login(user.userId,user.member_avatar,"") this.imService.login(user.userId,user.member_nickname,user.member_avatar)
this.imService.connectIM() this.imService.connectIM()
// 0: 1 2 3 4退/退 5退/退 6退/退 // 0: 1 2 3 4退/退 5退/退 6退/退
}, },
@ -285,7 +285,7 @@ export default {
getshiftlist() { getshiftlist() {
let that = this; let that = this;
this.$u.api.getshiftlist({}).then(res => { this.$u.api.getshiftlist({}).then(res => {
console.log(res); console.log(JSON.stringify(res));
if (res.errCode != 0) { if (res.errCode != 0) {
this.$refs.uToast.show({ this.$refs.uToast.show({
title: res.message, title: res.message,

View File

@ -75,7 +75,8 @@
}, },
shangchuan(){ shangchuan(){
uni.showLoading({ uni.showLoading({
title: '上传中' title: '上传中',
mask:true
}); });
}, },
tupian(){ tupian(){