king
2022-11-21 f6626b05f1275cc2f8ca77f773d4f6a6af1b0a89
src/menu/components/share/normalform/index.jsx
@@ -8,6 +8,7 @@
import './index.scss'
const MKTable = asyncComponent(() => import('@/components/normalform/modalform/mkTable'))
const StyleInput = asyncComponent(() => import('@/components/normalform/modalform/styleInput'))
class SettingForm extends Component {
  static propTpyes = {
@@ -80,6 +81,8 @@
        content = (<Input placeholder="" autoComplete="off" onPressEnter={this.handleSubmit}/>)
      } else if (item.type === 'number') {
        content = (<InputNumber min={item.min} max={item.max} precision={item.decimal} onPressEnter={this.handleSubmit}/>)
      } else if (item.type === 'styleInput') {
        content = (<StyleInput config={item}/>)
      } else if (item.type === 'select') {
        content = (<Select mode={item.multi ? 'multiple' : ''}>
          {item.options.map((option, index) =>