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
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.
It seems to me that there is no problem. The problem lies elsewhere. Please post an error report
(curindex==node.nodeIndex+1) Try it
ng-if="curindex=='node.nodeIndex+1'"
There should be no problem if you write like this
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.
It seems to me that there is no problem. The problem lies elsewhere. Please post an error report
(curindex==node.nodeIndex+1) Try it
There should be no problem if you write like this