修复图片展示错误

This commit is contained in:
yml2213
2026-07-23 17:30:59 +08:00
parent 95f3857470
commit 9d74cbcf8d
3 changed files with 23 additions and 9 deletions
@@ -36,7 +36,7 @@ interface RiskItem {
level: RiskLevel
}
const defaultScreenshotURL = '/api/listings/default-upload-screenshot'
const defaultScreenshotURL = '/api/listings/default-upload-screenshot?v=webp1'
const rejectReasonOptions = [
'默认截图,需补充真实截图',
'账号资产信息不完整',
@@ -451,7 +451,7 @@ function hasDefaultScreenshot(row: Listing) {
}
function isDefaultScreenshot(url: string) {
return url.includes(defaultScreenshotURL)
return url.includes('/api/listings/default-upload-screenshot')
}
function riskItems(row: Listing): RiskItem[] {