@@ -199,7 +199,7 @@ const PollingClient = () => {
setWallet(user_info);
}
// 系统通知
- if (notices.length !== system_notice?.data.length) {
+ if (notices.length !== system_notice?.data?.length) {
setNotices(system_notice?.data || [], system_notice?.summery?.unread || 0);
if (promotion_count !== system_notice?.summery?.promotion_count) {