zhengnaiwen_citu 6 miesięcy temu
rodzic
commit
1d2def886e
1 zmienionych plików z 1 dodań i 1 usunięć
  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 {