fix: bug#10393

This commit is contained in:
xieyonghong 2023-03-24 14:54:47 +08:00
parent 4112313953
commit 01fc5b13a0
3 changed files with 3 additions and 1 deletions

View File

@ -164,5 +164,6 @@ function syncTriggerClass(
.j-ellipsis-line-clamp {
display: -webkit-box;
-webkit-box-orient: vertical;
word-break: break-all;
}
</style>

View File

@ -172,6 +172,7 @@ const objectValue = ref<string>('');
const handleItemModalSubmit = () => {
myValue.value = objectValue.value.replace(/[\r\n]\s*/g, '');
modalVis.value = false;
emit('change', myValue.value);
};
//

View File

@ -176,7 +176,7 @@
<div class="card-item-content-text">
绑定设备
</div>
<div>{{ slotProps.deviceName }}</div>
<Ellipsis>{{ slotProps.deviceName }}</Ellipsis>
</j-col>
</j-row>
<j-divider style="margin: 12px 0" />