Compare commits
No commits in common. "3414fb63b83852b4ef0be6a2d86d1ec55f008fcc" and "55e13e6024a568368c21050831f538552e430225" have entirely different histories.
3414fb63b8
...
55e13e6024
@ -35,7 +35,6 @@
|
||||
<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>
|
||||
@ -112,7 +111,7 @@ const props = defineProps({
|
||||
});
|
||||
|
||||
// 添加格式化方法
|
||||
const formatNameText = (text, maxLength = 16) => {
|
||||
const formatNameText = (text, maxLength = 19) => {
|
||||
return text.length > maxLength ? `${text.slice(0, maxLength - 1)}...` : text;
|
||||
};
|
||||
|
||||
@ -192,7 +191,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