统一前后端代码格式化配置
This commit is contained in:
@@ -18,9 +18,7 @@ export function getImageIdentity(file: {
|
||||
}): string {
|
||||
const objectKey = String(file?.objectKey || '').trim()
|
||||
if (objectKey) return objectKey
|
||||
const url = String(
|
||||
file?.url || file?.mediumUrl || file?.thumbnailUrl || '',
|
||||
).trim()
|
||||
const url = String(file?.url || file?.mediumUrl || file?.thumbnailUrl || '').trim()
|
||||
return getImageIdentityFromUrl(url)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user