样例国际化

Signed-off-by: zgf <zenggaofeng2@h-partners.com>
This commit is contained in:
zgf
2024-10-10 16:50:32 +08:00
parent 4383fa3659
commit 43dd3c528c
13 changed files with 428 additions and 53 deletions

View File

@@ -21,7 +21,7 @@ export struct IndexComponent {
}
build() {
Column() {
Button("预加载").onClick((event: ClickEvent) => {
Button("preload").onClick((event: ClickEvent) => {
ImageKnife.getInstance()
.preLoadCache('https://hbimg.huabanimg.com/95a6d37a39aa0b70d48fa18dc7df8309e2e0e8e85571e-x4hhks_fw658/format/webp')
.then((data) => {