mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-11 17:20:10 +08:00
【修复】通知告警的提示信息
This commit is contained in:
@@ -50,9 +50,13 @@ export default defineComponent({
|
||||
const { iconPath, typeName } = useAuthApiTypeIconController(props)
|
||||
|
||||
return () => (
|
||||
<NTag type={props.type} size="small">
|
||||
<NTag
|
||||
type={props.type}
|
||||
size="small"
|
||||
class="w-auto text-ellipsis overflow-hidden whitespace-normal p-[.6rem] h-auto"
|
||||
>
|
||||
<SvgIcon icon={iconPath.value} size="1.2rem" class="mr-[0.4rem]" />
|
||||
{props.text && <span class="text-[12px]">{typeName.value}</span>}
|
||||
<span>{props.text && <span class="text-[12px]">{typeName.value}</span>}</span>
|
||||
</NTag>
|
||||
)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user