Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] symbol value not show in devtool #4111

Open
1 task done
workkk98 opened this issue Mar 17, 2024 · 1 comment
Open
1 task done

[Bug Report] symbol value not show in devtool #4111

workkk98 opened this issue Mar 17, 2024 · 1 comment

Comments

@workkk98
Copy link

workkk98 commented Mar 17, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

!Edit on CodeSandbox

Steps to reproduce

  1. 打开sandbox
  2. 新标签页的形式唤起devtool,观察field foo

What is expected?

field foo value是一个对象,
key foo对应的value是一个plain object
key bar对应的value是一个symbol

image

What is actually happening?

field foo value是一个对象,只有一个key
key foo对应的value是一个plain object
没有key bar的键值对
image

Package

@formily/chrome-extension


@workkk98
Copy link
Author

image
看起来是JSON.stringify函数把把symbol值给丢了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant