Skip to content

Commit d326bb6

Browse files
committed
fix: getValueFromObject
1 parent 6b3b553 commit d326bb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ const CoCreateApi = {
121121

122122
if (el.hasAttribute('actions')) continue;
123123

124-
let value = getValueFromObject({[action]: data}, name);
124+
let value = getValueFromObject({[action]: {[name]: data}}, name);
125125
el.setValue(value);
126126
}
127127

0 commit comments

Comments
 (0)