Commit 971b786d by Jaxon

fix(serviceNoticeList): 修复未读消息数量显示逻辑,确保正确显示为0

1 parent 9b591948
No preview for this file type
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<van-tab wx:for="{{ tabOptions }}" <van-tab wx:for="{{ tabOptions }}"
wx:key="value" wx:key="value"
wx:for-item="options" wx:for-item="options"
title="{{ options.text }}({{ list[options.key].unreadNum > 99? '99+' : list[options.key].unreadNum }})" title="{{ options.text }}({{ list[options.key].unreadNum > 99? '99+' : list[options.key].unreadNum || 0 }})"
name="{{ options.value }}"> name="{{ options.value }}">
<scrollList bind:onScrollToLower="handleScrollToLower" <scrollList bind:onScrollToLower="handleScrollToLower"
hasMore="{{ list[options.key].hasMore }}" hasMore="{{ list[options.key].hasMore }}"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!