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

关于HasManyGetAssociationsMixin的问题 #40

Open
wongxun opened this issue Apr 13, 2020 · 1 comment
Open

关于HasManyGetAssociationsMixin的问题 #40

wongxun opened this issue Apr 13, 2020 · 1 comment

Comments

@wongxun
Copy link

wongxun commented Apr 13, 2020

为什么我在A表中定义B表的模型——getB,通过A表使用getB提示undefined,但是编辑器却能.(点)出来

@wongxun
Copy link
Author

wongxun commented Apr 13, 2020

我解决了,原来get的名称要和表明相同才行,我开始是这么写的
image
后面吧get后面改为表明就可以了
image

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

No branches or pull requests

2 participants