代码优化

This commit is contained in:
kron
2025-06-02 14:42:07 +08:00
parent 43889669d7
commit 1eab5a151e
6 changed files with 118 additions and 119 deletions

View File

@@ -59,7 +59,10 @@ const toRankIntroPage = () => {
}"
:onClick="toOrderPage"
/>
<UserItem title="新手试炼场" :onClick="toFristTryPage">
<UserItem
title="新手试炼场"
:onClick="user.trio > 1 ? null : toFristTryPage"
>
<text v-if="user.trio > 1" :style="{ color: '#259249' }">已完成</text>
<text v-else :style="{ color: '#CC311F' }">未完成</text>
</UserItem>