Skip to content

Commit

Permalink
fix: liquid data is not in object form antvis#6145
Browse files Browse the repository at this point in the history
  • Loading branch information
the-lemonboy committed Jul 23, 2024
1 parent cf6d161 commit 7b6a4b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/composition/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function mergeData(
if (!dataDescriptor) return dataValue;
if (Array.isArray(dataDescriptor)) return dataDescriptor;
if (isObject(dataDescriptor)) {
const { value, ...rest } = dataDescriptor;
const { value = dataValue, ...rest } = dataDescriptor;
return { ...rest, value };
}
return dataDescriptor;
Expand Down

0 comments on commit 7b6a4b6

Please sign in to comment.