Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
287 views
in Technique[技术] by (71.8m points)

请问这个递归有什么问题

我写了一个递归组件来创建一个多级菜单,可是为什么点击一个其他的都显示出来了
QQ20200717-141601@2x.pngQQ20200717-141700@2x.pngQQ20200717-141710@2x.pngQQ20200717-142041@2x.png!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

你只有一个 is_show 怎么对应多个 item?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...