javascript - The content cannot be obtained when calling other arrays in the for loop of the applet
为情所困
为情所困 2017-06-15 09:23:14
0
2
581

Achieve the effect: first enter the page to determine whether the color is out of stock!

code show as below:

<block wx:for="{{colorInfo}}" wx:key="key">
        <text class="{{colorSelect[index]}}">{{item.colorComment}}</text>
      </block>

The colorInfo and colorSelect arrays both have values

为情所困
为情所困

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!