node.js - The list rendered by v-for has more than a dozen items, but some of them need to add drop-down selection items. What should I do?
大家讲道理
大家讲道理 2017-06-24 09:43:48
0
1
1060


The list I rendered has more than a dozen items, but some of them need to add drop-down selection items. How do I do this? ??

<li v-for="(item,key) in info" v-if="key==='企业信息'">
        <mu-text-field v-for="part in item.fields" :label="part.label" :id="part.field" :hintText="'请输入'+part.label" v-model="part.value" />
      </li>
大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(1)
小葫芦

Write select directly under li and use v-if conditional rendering

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template