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.
是否可以查看敲除验证插件中是否只有一个属性有效?
我在文档中看不到对它的任何引用,只能查看整个模型是否有效。
例如,我希望计算出的 observable 具有不同的值,具体取决于另一个 observable 是否有效。
我被引导到错误的方向,因为我使用的是异步验证器并且我的问题过于复杂,我认为它很简单:
属性名.isValid();
例如
self.email.isValid();