在Ant Design of Vue中,选择器组件写法正确的是
(A)<a-select> <a-select-option v-for="num in nums" :key="num">{{num}}</a-select-option> </a-select>
(B)<a-select-option> <a-select-option v-for="num in nums" :key="num">{{num}}</a-select-option> </a-select-option>
(C)<a-select> <a-select v-for="num in nums" :key="num">{{num}}</a-select> </a-select>
(D)以上都不对
参考答案
继续答题:下一题