zhengnaiwen_citu 6 ay önce
ebeveyn
işleme
1d2def886e
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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 {