@@ -8,6 +8,8 @@ const EditableFormItem = ({ label, dataIndex, record, dataId, span, editCellType
const [editing, setEditing] = useState(false)
const inputRef = useRef(null)
const [val, setVal] = useState(record)
+ // console.log(record)
+ // console.log(val)
useEffect(() => {
if (editing) {
inputRef.current.focus()
@@ -1,4 +1,5 @@
.editable-cell-value-wrap {
+ height: 32px;
padding: 5px 12px;
cursor: pointer;
}
@@ -11,7 +11,7 @@ const ContanctForm = props => {
const record = {
clientname: '啊实打实大',
address: '珠海',
- age: 16
+ telephone: "diodjioadhja念佛安徽佛安徽省"
const columns = [
@@ -113,7 +113,7 @@ const ContanctForm = props => {
]
- console.log(client)
+ // console.log(client)
// form.setFieldsValue(client)
}, [client])
const residences = [