|
@@ -142,7 +142,7 @@ export default {
|
|
|
const { data } = await sendUnreadCount({
|
|
const { data } = await sendUnreadCount({
|
|
|
unreadCount: this.unreadTotal
|
|
unreadCount: this.unreadTotal
|
|
|
})
|
|
})
|
|
|
- this.unreadTotal = data.total
|
|
|
|
|
|
|
+ this.unreadTotal = data
|
|
|
} catch (error) {
|
|
} catch (error) {
|
|
|
// this.$message.error(error)
|
|
// this.$message.error(error)
|
|
|
} finally {
|
|
} finally {
|