瀏覽代碼

修改消息

Fan 2 周之前
父節點
當前提交
beb06ff57e
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      ui/smarttrade-platform/src/components/layout/TopBar.vue

+ 1 - 1
ui/smarttrade-platform/src/components/layout/TopBar.vue

@@ -825,7 +825,7 @@ const notificationTabs = ref([])
 
 const filteredNotifications = computed(() => {
   if (activeTab.value === 'all') return notifications.value
-  return notifications.value.filter(n => n.type === activeTab.value)
+  return notifications.value.filter(n => n.messageType === activeTab.value)
 })
 
 // Methods