zhengnaiwen_citu 6 месяцев назад
Родитель
Сommit
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 {