|
|
@ -160,7 +160,6 @@ const [useProvideViewColumns, useViewColumns] = useInjectionState( |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const saveOrUpdate = async (field: any, index: number, disableDataReload: boolean = false) => { |
|
|
|
const saveOrUpdate = async (field: any, index: number, disableDataReload: boolean = false) => { |
|
|
|
console.log('saveOrUpdate', field, index, disableDataReload) |
|
|
|
|
|
|
|
if (isLocalMode.value && fields.value) { |
|
|
|
if (isLocalMode.value && fields.value) { |
|
|
|
fields.value[index] = field |
|
|
|
fields.value[index] = field |
|
|
|
meta.value!.columns = meta.value!.columns?.map((column: ColumnType) => { |
|
|
|
meta.value!.columns = meta.value!.columns?.map((column: ColumnType) => { |
|
|
|