怎么才能把passagelist里面的时间去掉时分秒,只展示年月日
<div
v-for="(i, idx) in passageList"
:key="idx"
class="list_item flex justify-between align-center"
>
<span class="text-ellipsis">{{ i.title }}</span>
<span class="date">{{ i.issueTime }}</span>
PolicyList() {
// this.$myLoading.show()
const { search } = this
pageSysPolicyLibraryBySysCompany({
companyFid: this.$store.getters.companys.companyFid,
suFid: this.$store.getters.userFid,
type: '0',
types: ['0'],
currentPage: search.currentPage,
pageSize: search.pageSize
}).then((res) => {
if (res.code === '0') {
this.passageList = res.data.list
this.search.total = res.data.count
}
// this.$myLoading.close()
})
}