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

添加两个switch后会报错,然后打不开preview。 #31

Open
OnlY0226 opened this issue Apr 1, 2024 · 1 comment
Open

添加两个switch后会报错,然后打不开preview。 #31

OnlY0226 opened this issue Apr 1, 2024 · 1 comment

Comments

@OnlY0226
Copy link

OnlY0226 commented Apr 1, 2024

vendor.7d1b3365.js:4 TypeError: Cannot read properties of undefined (reading 'validateField')
at main.26afb569.js:1:168741
at main.26afb569.js:1:55698
at Proxy.forEach ()
at Proxy.emit$ (main.26afb569.js:1:55686)
at Proxy.dispatch (main.26afb569.js:1:56132)
at Proxy.handleChangeEvent (main.26afb569.js:1:69630)
at Ur (vendor.7d1b3365.js:4:656)
at er (vendor.7d1b3365.js:4:735)
at tE (vendor.7d1b3365.js:4:3200)
at setup (vendor.7d1b3365.js:144:82525)

@OnlY0226
Copy link
Author

OnlY0226 commented Apr 1, 2024

也许是初始值为null的缘故,把初始值默认为true后可以了,或者在配置把默认值null改为false。

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