修复bug
Showing
1 changed file
with
6 additions
and
1 deletions
... | @@ -223,11 +223,16 @@ export default { | ... | @@ -223,11 +223,16 @@ export default { |
223 | }); | 223 | }); |
224 | }, | 224 | }, |
225 | setGroupMemberMuteTime() { | 225 | setGroupMemberMuteTime() { |
226 | // console.log('Number(this.muteTime) is ',Number(this.muteTime)) | ||
227 | let _muteTime = Number(this.muteTime) | ||
228 | if(_muteTime > 99999999) { | ||
229 | _muteTime = 99999999 | ||
230 | } | ||
226 | this.tim | 231 | this.tim |
227 | .setGroupMemberMuteTime({ | 232 | .setGroupMemberMuteTime({ |
228 | groupID: this.currentConversation.groupProfile.groupID, | 233 | groupID: this.currentConversation.groupProfile.groupID, |
229 | userID: this.member.userID, | 234 | userID: this.member.userID, |
230 | muteTime: Number(this.muteTime), | 235 | muteTime: _muteTime, |
231 | }) | 236 | }) |
232 | .then(() => { | 237 | .then(() => { |
233 | this.muteTime = ""; | 238 | this.muteTime = ""; | ... | ... |
-
Please register or sign in to post a comment