添加 红点标记
This commit is contained in:
@@ -51,7 +51,7 @@ const GuideBar = (props) => {
|
||||
if (code === currentPage) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// 如果提供了 onTabChange 回调,优先使用(单页面模式)
|
||||
if (onTabChange) {
|
||||
onTabChange(code);
|
||||
@@ -91,9 +91,9 @@ const GuideBar = (props) => {
|
||||
key={item.code}
|
||||
>
|
||||
<Text>{item.text}</Text>
|
||||
{/* {item.code === "message" && hasReddot && (
|
||||
{item.code === "message" && hasReddot && (
|
||||
<View className="reddot"></View>
|
||||
)} */}
|
||||
)}
|
||||
</View>
|
||||
))}
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user