|
|
|
|
@ -34,7 +34,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template #file="row">
|
|
|
|
|
<div class="flex items-center">
|
|
|
|
|
<div class="file-list-item-content flex items-center">
|
|
|
|
|
<!-- <span>{{ row.file.name }}</span> -->
|
|
|
|
|
<el-tooltip :content="row.file.name" placement="top">
|
|
|
|
|
<span class="ellipsis-text">{{ row.file.name }}</span>
|
|
|
|
|
@ -397,10 +397,14 @@ const emitUpdateModelValue = () => {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ellipsis-text {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
max-width: 100px;
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-list-item-content :deep(.ml-10px) {
|
|
|
|
|
flex: none;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|