ng-if="curindex==(node.nodeIndex+1)"
What I write this way is invalid,
curindex==node.nodeIndex+1
Written like this, the calculation is wrong.
How to deal with it? ? ? ? What I mean is the comparison between node.nodeIndex 1 and curindex
PHPz2017-05-15 17:06:21
The first way of writing is correct. Angular conflicts with some libraries and ng-if will fail. Also, other parts of what you wrote are wrong.
给我你的怀抱2017-05-15 17:06:21
It seems to me that there is no problem. The problem lies elsewhere. Please post an error report
習慣沉默2017-05-15 17:06:21
ng-if="curindex=='node.nodeIndex+1'"
There should be no problem if you write like this