在 AngularJS 中,我该如何做以下代码试图实现的目标,即如果 task.status 设置为特定值,则隐藏跨度?
<li ng-repeat="task in tasks">
Move to:
<span ng-hide="task.status=todo">Todo</span>
<span ng-hide="task.status=doing">Doing</span>
<span ng-hide="task.status=done">Done</span>
</li>