|
@@ -56,7 +56,7 @@
|
|
|
drawerH: 0, // 抽屉内部scrollview高度
|
|
|
chatHistory: [],
|
|
|
chatHistoryParams: {
|
|
|
- userId: '',
|
|
|
+ userId: 0,
|
|
|
pageNum: 1,
|
|
|
pageSize: 10
|
|
|
},
|
|
@@ -76,7 +76,7 @@
|
|
|
//获取组员协销列表
|
|
|
try {
|
|
|
const userInfo = await this.$api.getStorage()
|
|
|
- this.chatHistoryParams.userId = userInfo.userId
|
|
|
+ this.chatHistoryParams.userId = userInfo.userId ? userInfo.userId : 0
|
|
|
const res = await this.UserService.userNewChatHistory(this.chatHistoryParams)
|
|
|
this.chatHistory = res.data
|
|
|
} catch (e) {
|