Skip to content

Commit 796c809

Browse files
authored
Update adding-images-fonts-and-files.zh-CN.md (#656)
错别字
1 parent f9c4ad5 commit 796c809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/adding-images-fonts-and-files.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ console.log(logo); //logo.84287d09.png
2222
return <Image src={logo} />;
2323
```
2424

25-
为了加快加载速度,并且减少网络请求,我们会把小于 1000k 的转化为 [base64](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs)这一版只对图片有效
25+
为了加快加载速度,并且减少网络请求,我们会把小于 1000k 的转化为 [base64](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs)这一般只对图片有效
2626

2727
你可能注意到最后生成的 `logo.png` 会变成 `logo.84287d09.png` ,这个是为了保证每次发布版本都会更新图片,如果不改名字的话,会命中 `logo.png` 的缓存,你可以放心的使用 import 而不用担心缓存。
2828

0 commit comments

Comments
 (0)