小程序两个for循环嵌套时子循环中如何获取父循环中的index?

我想在change中获取当前父循环的index 请问如何获取?


    
    

最佳答案

换个名字,wx:for-index="idx"
列表渲染