我被困在如何用数据填充下拉列表(来自api responce)。我怎么会有工作来填写下拉列表。但是我想知道使用redux来填充下拉列表的标准方法是什么。任何帮助都会很好。/actions/project.jsx';import React,{Component} from 'react';
import Select from 'react</em
我试图用来自给定数组'options‘的数据填充下拉列表,但是我遇到了一个错误,它无法读取属性appendChild的null。options.length; i++) { var el = document.createElement('optionselect.appendChild(el); <select id='template-select'>