fix bug#3905
This commit is contained in:
parent
d303c8e94e
commit
382c3fed39
@ -35,6 +35,7 @@
|
||||
<div class="text-[#000000] text-[32rpx]
|
||||
font-bold opacity-90 name_text">
|
||||
{{ formatNameText(props.data.name) }}
|
||||
<span v-if="props.data.group_member_num > 0">({{props.data.group_member_num}})</span>
|
||||
<span v-if="props.data.group_type === 2" class="depTag tag">
|
||||
部门
|
||||
</span>
|
||||
@ -111,7 +112,7 @@ const props = defineProps({
|
||||
});
|
||||
|
||||
// 添加格式化方法
|
||||
const formatNameText = (text, maxLength = 19) => {
|
||||
const formatNameText = (text, maxLength = 16) => {
|
||||
return text.length > maxLength ? `${text.slice(0, maxLength - 1)}...` : text;
|
||||
};
|
||||
|
||||
@ -191,7 +192,7 @@ const handleDelete = () => {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
margin-left: 10rpx;
|
||||
// margin-left: 10rpx;
|
||||
margin-top: 4rpx;
|
||||
vertical-align: top;
|
||||
height: 38rpx;
|
||||
|
Loading…
Reference in New Issue
Block a user