这次做前端使用到了antd-design,主页:https://ant.design/docs/react/introduce-cn。
使用Select选择器时,<Option>选项中value是必须存在的,不可省略,即<Select> <Option value="lucy">lucy</Option> </Select>,否则会报错。
这次做前端使用到了antd-design,主页:https://ant.design/docs/react/introduce-cn。
使用Select选择器时,<Option>选项中value是必须存在的,不可省略,即<Select> <Option value="lucy">lucy</Option> </Select>,否则会报错。