js代码(非react组件)如何引用model中的state? #5906
Unanswered
hyyhzaigithub
asked this question in
Q&A
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
如题。
查到一个17年的帖子,一样的问题,在dva的讨论区。给出的方案是window.g_app。我试了下,window.g_app是个空值。
Beta Was this translation helpful? Give feedback.
All reactions