Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 jsRender 文档中有一个方法$.observable(object).setProperty(),但是如何从对象中删除一个属性?
$.observable(object).setProperty()
有一个 removeProperty() 方法。它是最近添加到 API 中的,所以还没有在文档中(即将添加)。
$.observable(myObject).removeProperty("propertyName")