fix: 用户选择组件,单选时不需要显示项目

This commit is contained in:
weifashi 2023-12-13 18:29:08 +08:00
parent 7a431d86d2
commit 8144bea613

View File

@ -69,6 +69,7 @@
<ul v-if="isWhole" class="user-modal-switch">
<li
v-for="item in switchItems" :key="item.key"
v-if="!(forcedRadio && !showMultiple && item.key == 'project')"
:class="{active:switchActive===item.key}"
@click="switchActive=item.key">{{ $L(item.label) }}</li>
</ul>