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="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()
} }

View File

@ -21,7 +21,10 @@
</template> </template>
<template #renderItem="{ item }"> <template #renderItem="{ item }">
<a-list-item key="item.title"> <a-list-item key="item.title">
<a-tooltip>
<template #title>{{ item.note1 || item.content }}</template>
<a-list-item-meta <a-list-item-meta
ellipsis="true"
:description=" :description="
item.note1 ? `摘要:${item.note1 || ''}` : item.content item.note1 ? `摘要:${item.note1 || ''}` : item.content
" "
@ -41,6 +44,7 @@
/> />
</template> </template>
</a-list-item-meta> </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