|
|
@@ -51,7 +51,6 @@ const EditableFormItem = ({
|
|
|
type: 'district/fetchWithValues',
|
|
|
payload: record
|
|
|
})
|
|
|
- setState({ ...state, popupVisible: true })
|
|
|
}
|
|
|
// 当val为空时,需要设置默认值
|
|
|
if (!state.val) {
|
|
|
@@ -162,7 +161,7 @@ const EditableFormItem = ({
|
|
|
content = state.extraVal || dataSource.local
|
|
|
}
|
|
|
if (editCellType === 'select') {
|
|
|
- content = state.extraVal || dataSource.nature
|
|
|
+ content = state.extraVal || dataSource.gender
|
|
|
}
|
|
|
cell = (
|
|
|
<div className="editable-cell-value-wrap" onClick={toggleEdit}>
|