This commit is contained in:
parent
95a9b40939
commit
cd4fbc1e03
@ -101,9 +101,9 @@ class LarkCard<
|
||||
return obj.map(traverseAndReplace)
|
||||
} else if (_.isObject(obj)) {
|
||||
// 给 value 字段注入公共变量
|
||||
if ((obj as any).value && variables.commonValue) {
|
||||
if ((obj as any).value) {
|
||||
;(obj as any).value = {
|
||||
...variables.commonValue,
|
||||
...variables,
|
||||
...((obj as any).value || {}),
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user