We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b961d6 commit bd1458dCopy full SHA for bd1458d
packages/app-backend-vue3/src/components/data.ts
@@ -134,10 +134,11 @@ function processSetupState (instance) {
134
const objectType = info.computed ? 'Computed' : info.ref ? 'Ref' : info.reactive ? 'Reactive' : null
135
const isState = info.ref || info.computed || info.reactive
136
const isOther = typeof value === 'function' || typeof value?.render === 'function'
137
+ const raw = rawData.effect?.raw?.toString() || rawData.effect?.fn?.toString()
138
139
result = {
140
...objectType ? { objectType } : {},
- ...rawData.effect ? { raw: rawData.effect.fn.toString() } : {},
141
+ ...raw ? { raw } : {},
142
editable: isState && !info.readonly,
143
type: isOther ? 'setup (other)' : 'setup'
144
}
0 commit comments