|
|
@ -101,8 +101,8 @@ const debouncedValidate = useDebounceFn(async () => { |
|
|
|
try { |
|
|
|
try { |
|
|
|
const parsed = await validateFormulaAndExtractTreeWithType({ |
|
|
|
const parsed = await validateFormulaAndExtractTreeWithType({ |
|
|
|
formula: vModel.value.formula || vModel.value.formula_raw, |
|
|
|
formula: vModel.value.formula || vModel.value.formula_raw, |
|
|
|
columns: (meta.value?.columns || []).slice(), |
|
|
|
columns: meta.value?.columns || [], |
|
|
|
column: column.value ? { ...column.value } : undefined, |
|
|
|
column: column.value ?? undefined, |
|
|
|
clientOrSqlUi: source.value?.type as any, |
|
|
|
clientOrSqlUi: source.value?.type as any, |
|
|
|
getMeta: async (modelId) => await getMeta(modelId), |
|
|
|
getMeta: async (modelId) => await getMeta(modelId), |
|
|
|
}) |
|
|
|
}) |
|
|
|