$patch中增加数组元素始终是响应式的,这是一个Bug么? #1395
Unanswered
cnsource
asked this question in
Help and Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It is a Bug?
在state中存在一个数组元素时,使用$patch push元素会始终是响应式。
而且,在$reset时,数组不会被影响,普通值可以恢复到原来的值。
下面是程序
pinia-01.zip
Beta Was this translation helpful? Give feedback.
All reactions