Commit ddfc662a by lijiabin

fix: 修复推荐列表图片URL已带参数时拼接错误

parent 32a67522
......@@ -72,7 +72,7 @@
<div v-show="item.faceUrl" class="relative flex-shrink-0 w-30 h-20 xl:w-36 xl:h-24">
<el-image
:src="item.faceUrl + '?x-oss-process=image/format,webp'"
:src="toWebpUrl(item.faceUrl)"
alt="文章配图"
fit="cover"
:lazy="true"
......@@ -136,6 +136,7 @@ import { TABS_REF_KEY, ArticleTypeEnum } from '@/constants'
import { useScrollTop, useNavigation } from '@/hooks'
import { articleTypeListOptions } from '@/constants'
import dayjs from 'dayjs'
import { toWebpUrl } from '@/utils'
const { list, total, searchParams, loading, goToPage, changePageSize, refresh } = usePageSearch(
getArticleList,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment