bug修改
This commit is contained in:
parent
976e588372
commit
08b971c411
|
@ -4,7 +4,7 @@
|
||||||
<div class="application-associated-ability-main">
|
<div class="application-associated-ability-main">
|
||||||
<div
|
<div
|
||||||
class="associated-ability-card"
|
class="associated-ability-card"
|
||||||
v-for="(dataListitem, dataListindex) in dataFrom[0].dataList"
|
v-for="dataListitem in dataFrom[0].dataList"
|
||||||
:key="dataListitem.id"
|
:key="dataListitem.id"
|
||||||
@click="switchFunction(dataListitem.id)"
|
@click="switchFunction(dataListitem.id)"
|
||||||
>
|
>
|
||||||
|
@ -62,7 +62,7 @@
|
||||||
)
|
)
|
||||||
watch(
|
watch(
|
||||||
() => router.currentRoute.value.query.id,
|
() => router.currentRoute.value.query.id,
|
||||||
(newValue, oldValue) => {
|
() => {
|
||||||
if (oldid != router.currentRoute.value.query.id) {
|
if (oldid != router.currentRoute.value.query.id) {
|
||||||
window.location.reload()
|
window.location.reload()
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,26 +21,30 @@
|
||||||
</template>
|
</template>
|
||||||
<template #renderItem="{ item }">
|
<template #renderItem="{ item }">
|
||||||
<a-list-item key="item.title">
|
<a-list-item key="item.title">
|
||||||
<a-list-item-meta
|
<a-tooltip>
|
||||||
:description="
|
<template #title>{{ item.note1 || item.content }}</template>
|
||||||
item.note1 ? `摘要:${item.note1 || ''}` : item.content
|
<a-list-item-meta
|
||||||
"
|
ellipsis="true"
|
||||||
>
|
:description="
|
||||||
<template #title>
|
item.note1 ? `摘要:${item.note1 || ''}` : item.content
|
||||||
<a class="title-content" @click="goToDetails(item.id)">
|
"
|
||||||
{{ item.title }}
|
>
|
||||||
</a>
|
<template #title>
|
||||||
</template>
|
<a class="title-content" @click="goToDetails(item.id)">
|
||||||
<template #avatar>
|
{{ item.title }}
|
||||||
<a-image
|
</a>
|
||||||
width="100"
|
</template>
|
||||||
height="100"
|
<template #avatar>
|
||||||
alt="暂无图片"
|
<a-image
|
||||||
:src="item.imageUrl"
|
width="100"
|
||||||
:fallback="imgSrc"
|
height="100"
|
||||||
/>
|
alt="暂无图片"
|
||||||
</template>
|
:src="item.imageUrl"
|
||||||
</a-list-item-meta>
|
:fallback="imgSrc"
|
||||||
|
/>
|
||||||
|
</template>
|
||||||
|
</a-list-item-meta>
|
||||||
|
</a-tooltip>
|
||||||
<div class="pulish-time">发布时间:{{ item.createDate }}</div>
|
<div class="pulish-time">发布时间:{{ item.createDate }}</div>
|
||||||
<!-- <template #extra>
|
<!-- <template #extra>
|
||||||
<a-image
|
<a-image
|
||||||
|
|
Loading…
Reference in New Issue