To verify that these fields are getting populated behind the scenes, do one more thing: disable them in create and edit views.
要验证这些字段在幕后被填充,需要再做一件事:在创建和编辑视图中禁用它们。
For example, if a product is edited, the view and edit views for that product, as well as the products index view would all have to be cleared from the cache.
例如,如果编辑了一个产品,则该产品的view和edit视图以及产品index视图都必须从缓存中清除。
应用推荐