formily
formily copied to clipboard
[Bug Report] symbol value not show in devtool
- [x] I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
Steps to reproduce
- 打开sandbox
- 新标签页的形式唤起devtool,观察field foo
What is expected?
field foo value是一个对象, key foo对应的value是一个plain object key bar对应的value是一个symbol
What is actually happening?
field foo value是一个对象,只有一个key
key foo对应的value是一个plain object
没有key bar的键值对
Package
@formily/chrome-extension
看起来是JSON.stringify函数把把symbol值给丢了