Compare commits
No commits in common. "f6ce05378739b1c474aff9a79a23db9d03713ecc" and "e4c2b7cdcb0f2549566724503a3b54571e2cabaf" have entirely different histories.
f6ce053787
...
e4c2b7cdcb
@ -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