zhengnaiwen_citu преди 6 месеца
родител
ревизия
1d2def886e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 {