当sign=' ',i.parentId = 0
I wrote a judgment condition
if(sign==i.parentId)
It was found that passed,
I looked at the knowledge points and said that == is loosely equal, you can use ===strictly equal
Pay attention when writing code in the future
当sign=' ',i.parentId = 0
I wrote a judgment condition
if(sign==i.parentId)
It was found that passed,
I looked at the knowledge points and said that == is loosely equal, you can use ===strictly equal
Pay attention when writing code in the future