fix(project): fix bug
This commit is contained in:
@@ -82,6 +82,7 @@ export default function LabelSchemeContainer(props: {
|
||||
<DataTable<ProjectDetail.LabelSchemaList>
|
||||
withTableBorder
|
||||
withRowBorders
|
||||
idAccessor="category_id"
|
||||
records={schemas}
|
||||
columns={columns}
|
||||
minHeight={160}
|
||||
|
||||
@@ -53,7 +53,8 @@ export default function SamplingPlanContainer(props: {
|
||||
C_frame: toPercent(grade.C?.frame),
|
||||
})
|
||||
form.resetDirty()
|
||||
}, [info, form])
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [info])
|
||||
|
||||
const save = async () => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user