Skip to content

Commit

Permalink
faet: 0818update
Browse files Browse the repository at this point in the history
  • Loading branch information
Psilocine committed Aug 18, 2020
1 parent 7a27619 commit 2a710a1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@

> 走过的一些坑,作此文档用来激励自己,也希望读者(你)能与我共勉.    -PsiloLau
### 2020 年 8 月 18 日

提供给 lottie 使用的 json 如果有额外图片资源,可能会导致图片加载不出来
解决的方法有两种:

1. 修改 json 文件里图片的路径
2. 将 json 改成 js 文件,图片用 require 引入

### 2020 年 8 月 10 日

1. 解构赋值可以剔除不想暴露或不想要的属性
Expand Down

0 comments on commit 2a710a1

Please sign in to comment.