import React, { useRef } from 'react' import { Form, FormItem, FormButton, FormBlock, FormGroup, FormPanel, FormPanelMore, } from './index' import { Select, Switch, Validator, RadioGroup, Radio, CheckboxGroup, Checkbox, Input, InputNumber, Flex, Button, } from '../../index' import { observable } from 'mobx' import { observer } from 'mobx-react' const area = [ { value: 0, text: '南山', }, { value: 1, text: '福田', }, ] const store = observable({ name: '', desc: '', area: null, sex: 0, taste: [], isWork: false, height: null, setData(key: string, value: any) { // @ts-ignore this[key] = value }, }) const Tets = observer(() => { return ( store.setData('name', e.target.value)} />
可以允许商户在规定时间内自主修改已提交订单内容
store.setData('name', e.target.value)} />