import * as React from 'react'; import { Search, Fab, Cell, Image, Switch, Button } from 'tdesign-mobile-react'; import { SearchIcon, Icon } from 'tdesign-icons-react'; export default function render() { const { t } = this; const { entity, relations } = this.props; const { searchValue, users, oakDirty } = this.state; const relations2 = typeof relations === 'object' ? relations : relations && JSON.parse(relations); return (
{ this.searchCancel(); }} onSubmit={(value, event) => { // value清空 this.searchConfirm(); }} onClear={() => { this.searchCancel(); }} leftIcon={} /> {users?.map((ele, index) => { return ( } description={
姓名: {ele.name || '未设置'}
手机: {ele.mobile || '未设置'}
{relations2?.map((relation, index2) => ( { this.onChangeValue( value, relation, index ); }} /> ))}
} /> ); })}
); }