element()

in src/ui/editor/complex/ADialogForm.tsx [25:42]


  element() {
    const value = super.getValue();
    const readable = assembly.toReadable(this.props.schema, value, super.getParentValue());
    return <>
      <Modal
        style={this.props.style}
        closable={false}
        keyboard={true}
        width="70%"
        className={MUtil.phoneLike() ? "MEditor_p" : "MEditor"} maskClosable={false} title="编辑" visible={this.pop} 
        footer={<Button onClick={this.close}>确定</Button>}>
        <AForm {...this.props}/>
      </Modal>
      {readable}
      <Button style={{marginLeft: 15}} onClick={()=>{
        this.pop = true;
        this.setState({});
      }}>编辑</Button>