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.
我想控制 ng-hide 而不必在控制器中编写专用方法。就像是:
<div ng-hide="session.filter==''">{{session.filter}}</div>
可能吗?
是的,而且很容易验证,只需添加一个E2E 测试并尝试一下,这将比发布问题并等待答案更快。另外,您将改进您的测试套件:)