re-arrange tables store saveField method
This commit is contained in:
parent
7c6fc51e80
commit
2e13c5f10e
|
@ -107,7 +107,7 @@ export function createTablesStore() {
|
||||||
state.draft.indexes = indexes
|
state.draft.indexes = indexes
|
||||||
}
|
}
|
||||||
|
|
||||||
state.draft.schema[field.name] = cloneDeep(field)
|
state.draft.schema = {...state.draft.schema, [field.name]: cloneDeep(field)}
|
||||||
save(state.draft)
|
save(state.draft)
|
||||||
return state
|
return state
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue