优化图片加载
This commit is contained in:
@@ -147,7 +147,7 @@ const getGenerateImgStatus = async (item)=> {
|
||||
|
||||
const getBackgroundImage = (item) => {
|
||||
if (item.result_url) {
|
||||
return item.result_url;
|
||||
return `${item.result_url}?x-oss-process=image/resize,w_400/format,webp/quality,q_80`;
|
||||
} else {
|
||||
return item.result_url = failedImg;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user