This commit is contained in:
851673013@qq.com 2022-07-15 18:56:00 +08:00
parent 97e078e596
commit 61baa7441b
1 changed files with 17 additions and 7 deletions

View File

@ -43,13 +43,16 @@
style="position: relative" style="position: relative"
> >
<template #title> <template #title>
<span <a-tooltip placement="top">
@click="showItem(item.resourceId, item.type, item.delFlag)" <template #title>{{ item.name }}</template>
style="cursor: pointer" <span
class="name" @click="showItem(item.resourceId, item.type, item.delFlag)"
> style="cursor: pointer"
{{ item.name }} class="name"
</span> >
{{ item.name }}
</span>
</a-tooltip>
<span class="time">浏览时间{{ item.createDate }}</span> <span class="time">浏览时间{{ item.createDate }}</span>
<svg <svg
t="1652233950228" t="1652233950228"
@ -374,6 +377,13 @@
span { span {
margin-right: 0.3rem; margin-right: 0.3rem;
} }
.name {
max-width: 11rem;
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
} }
} }
.ant-list::-webkit-scrollbar { .ant-list::-webkit-scrollbar {