-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(weapp): setData 前需要深拷贝衍生自 state 的 data, fix #5012
对 state 的操作直接影响 data,因为 data 和 state 引用一样,因此需要深拷贝再 setData。 去除 shakeFnFromObject 的锅。
- Loading branch information
1 parent
c6da0da
commit 8c25b0d
Showing
2 changed files
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters