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

setDataValue没起做用,这是为什么 #506

Open
zjl1515987 opened this issue Sep 5, 2021 · 0 comments
Open

setDataValue没起做用,这是为什么 #506

zjl1515987 opened this issue Sep 5, 2021 · 0 comments

Comments

@zjl1515987
Copy link

async getFamily(id) {
const family = await Family.findByPk(id)
family.setDataValue('myid', 11)
return family
}

这个属性怎么都加不上,也没报错,困扰了一天一夜了。

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