re-arrange tables store saveField method
This commit is contained in:
parent
3c2f182b03
commit
dd5959eb0c
|
@ -106,8 +106,8 @@ export function createTablesStore() {
|
|||
if (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)
|
||||
return state
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue