Commit b83216fb authored by 前端-许佳敏's avatar 前端-许佳敏

fix:仓位出现默认值后 无法被initValue修改

parent c1dae385
......@@ -113,6 +113,7 @@ const PositionSetting:React.FC<PositionSettingProps> = (props) => {
})
setMembersLength(res.totalCount);
}
console.log(data)
setInitialValue(data);
}
if(id != '') {
......@@ -468,7 +469,7 @@ const PositionSetting:React.FC<PositionSettingProps> = (props) => {
<NiceForm
previewPlaceholder=' '
editable={pageStatus !== PageStatus.PREVIEW}
initialValues={initValue}
value={initValue}
expressionScope={{
tableColumns,
tableAddButton,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment