add 颜色选择

This commit is contained in:
2021-06-29 13:26:09 +08:00
parent 3d5c776362
commit 31bc69939c
8 changed files with 149 additions and 4 deletions

View File

@@ -1,7 +1,6 @@
import React, { Component } from 'react'
import { Form, Input, InputNumber, Spin } from 'antd'
import { AntIcon, IconSelector } from 'components'
import { cloneDeep } from 'lodash'
import { AntIcon, ColorSelector, IconSelector } from 'components'
import { api } from 'common/api'
const initialValues = {
@@ -107,6 +106,9 @@ export default class form extends Component {
}
/>
</Form.Item>
<Form.Item label="颜色" name="color">
<ColorSelector placeholder="请选择颜色" />
</Form.Item>
<Form.Item label="排序" name="sort">
<InputNumber
max={1000}