阅读背景:

更改模型时更改变量

来源:互联网 

I have two models, one for each input field. I have a controller that outputs data. Inside that controller I defined new variable that merges these two input models. However that variable doesn't change upon model changes. How do I update that variable when one of models change?I have two models, one for each input field. I




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: