This commit is contained in:
@@ -47,8 +47,8 @@ const menuItems = computed(() => {
|
||||
},
|
||||
]
|
||||
|
||||
// 企业端显示授权卡和授权设备
|
||||
if (userInfo.value?.user_type !== 3) {
|
||||
// 企业端显示授权卡和授权设备 (仅 user_type === 4)
|
||||
if (userInfo.value?.user_type === 4) {
|
||||
menus.push(
|
||||
{
|
||||
title: '授权卡列表',
|
||||
@@ -201,7 +201,7 @@ onMounted(() => {
|
||||
<text class="text-11px text-white font-600">代理</text>
|
||||
</view>
|
||||
<view
|
||||
v-else
|
||||
v-else-if="userInfo?.user_type === 4"
|
||||
class="px-2 py-0.5 bg-white/20 rounded-6px"
|
||||
>
|
||||
<text class="text-11px text-white font-600">企业</text>
|
||||
|
||||
Reference in New Issue
Block a user