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
621

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

code show as below:

 {{item.colorComment}} 

The colorInfo and colorSelect arrays both have values

为情所困
为情所困

reply all (2)
漂亮男人

Expand colorInfo and take a look

    洪涛
     {{item.colorComment}} 

    or specify

     {{item.colorComment}} 

    I tried it, this method is possible
    Definition in js:

    Page display

    The structure displayed on the final interface:

    Page display

      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!