Skip to content

Commit f8c5c7f

Browse files
authored
fix(dataField): 'effect.raw' has been unavailable (#1542)
1 parent 89b0710 commit f8c5c7f

File tree

1 file changed

+1
-1
lines changed
  • packages/app-backend-vue3/src/components

1 file changed

+1
-1
lines changed

packages/app-backend-vue3/src/components/data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ function processSetupState (instance) {
137137

138138
result = {
139139
...objectType ? { objectType } : {},
140-
...raw.effect ? { raw: raw.effect.raw.toString() } : {},
140+
...raw.effect ? { raw: raw.effect.fn.toString() } : {},
141141
editable: isState && !info.readonly,
142142
type: isOther ? 'setup (other)' : 'setup'
143143
}

0 commit comments

Comments
 (0)