fix(系统设置): 组织与项目列表创建人字段Hover有误

--bug=1038403 --user=宋昌昌 【系统设置】系统-组织与项目-创建人字段-hover显示错误 https://www.tapd.cn/55049933/s/1489782
This commit is contained in:
song-cc-rock 2024-04-07 20:03:01 +08:00 committed by Craftsman
parent e105c0ef64
commit b9d2620cb1
3 changed files with 7 additions and 6 deletions

View File

@ -1,6 +1,6 @@
<template>
<div class="flex flex-row flex-nowrap">
<a-tooltip content-class="max-w-[600px]">
<a-tooltip content-class="max-w-[600px]" :content="props.name">
<div class="flex flex-row flex-nowrap">{{ characterLimit(props.name) }}</div>
</a-tooltip>
<div v-if="props.isAdmin" class="ml-1 flex flex-row flex-nowrap text-[var(--color-text-4)]">{{
@ -15,4 +15,4 @@
const { t } = useI18n();
const props = withDefaults(defineProps<{ name?: string; isAdmin?: boolean }>(), { isAdmin: false });
</script>
</script>

View File

@ -183,7 +183,8 @@
title: 'system.organization.creator',
slotName: 'creator',
dataIndex: 'createUser',
showTooltip: true,
width: 125,
showTooltip: false,
},
{
title: 'system.organization.createTime',
@ -400,4 +401,4 @@
color: rgb(var(--primary-5));
cursor: pointer;
}
</style>
</style>

View File

@ -172,7 +172,7 @@
slotName: 'creator',
dataIndex: 'createUser',
width: 200,
showTooltip: true,
showTooltip: false,
},
{
title: 'system.organization.createTime',
@ -385,4 +385,4 @@
color: rgb(var(--primary-5));
cursor: pointer;
}
</style>
</style>