bug修改

This commit is contained in:
851673013@qq.com 2022-06-30 10:09:05 +08:00
parent 976e588372
commit 08b971c411
2 changed files with 26 additions and 22 deletions

View File

@ -4,7 +4,7 @@
<div class="application-associated-ability-main">
<div
class="associated-ability-card"
v-for="(dataListitem, dataListindex) in dataFrom[0].dataList"
v-for="dataListitem in dataFrom[0].dataList"
:key="dataListitem.id"
@click="switchFunction(dataListitem.id)"
>
@ -62,7 +62,7 @@
)
watch(
() => router.currentRoute.value.query.id,
(newValue, oldValue) => {
() => {
if (oldid != router.currentRoute.value.query.id) {
window.location.reload()
}

View File

@ -21,26 +21,30 @@
</template>
<template #renderItem="{ item }">
<a-list-item key="item.title">
<a-list-item-meta
:description="
item.note1 ? `摘要:${item.note1 || ''}` : item.content
"
>
<template #title>
<a class="title-content" @click="goToDetails(item.id)">
{{ item.title }}
</a>
</template>
<template #avatar>
<a-image
width="100"
height="100"
alt="暂无图片"
:src="item.imageUrl"
:fallback="imgSrc"
/>
</template>
</a-list-item-meta>
<a-tooltip>
<template #title>{{ item.note1 || item.content }}</template>
<a-list-item-meta
ellipsis="true"
:description="
item.note1 ? `摘要:${item.note1 || ''}` : item.content
"
>
<template #title>
<a class="title-content" @click="goToDetails(item.id)">
{{ item.title }}
</a>
</template>
<template #avatar>
<a-image
width="100"
height="100"
alt="暂无图片"
:src="item.imageUrl"
:fallback="imgSrc"
/>
</template>
</a-list-item-meta>
</a-tooltip>
<div class="pulish-time">发布时间{{ item.createDate }}</div>
<!-- <template #extra>
<a-image