zhengnaiwen_citu 6 months ago
parent
commit
1d2def886e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/layout/components/LayoutNotification.vue

+ 1 - 1
src/layout/components/LayoutNotification.vue

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