mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-11 09:08:14 +08:00
🐛 webp 无法处理大图片,改成 png
*PostID:47621154
This commit is contained in:
@@ -61,7 +61,7 @@ function getImageTitle(): string {
|
||||
|
||||
function getImageUrl(): string {
|
||||
const img = props.data.insert.image;
|
||||
const append = "?x-oss-process=image/format,webp";
|
||||
const append = "?x-oss-process=image/format,png";
|
||||
return img + append;
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -71,7 +71,7 @@ export function getPostCover(item: TGApp.Plugins.Mys.News.Item): string {
|
||||
if (cover === undefined) {
|
||||
cover = defaultCover;
|
||||
} else {
|
||||
cover = `${cover}?x-oss-process=image/format,webp`;
|
||||
cover = `${cover}?x-oss-process=image/format,png`;
|
||||
}
|
||||
return cover;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user