阅读背景:

如何将新记录的isDirty标志设置为false

来源:互联网 

In my willTransition hook I am using isDirty to determine whether a modal should display a warning to the user that they will lose unsaved changes if they navigate away. The problem is, a new record in Ember is considered dirty before even adjusting any of the fields. I need a way to override this behavior. I have tried the following without success: to




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

分享到: