File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
packages/app-backend-vue2/src/components Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,6 @@ function processState (instance): ComponentState[] {
188
188
} ) )
189
189
}
190
190
191
-
192
191
function processSetupState ( instance ) {
193
192
const state = instance . _setupProxy || instance
194
193
const raw = instance . _setupState
@@ -242,7 +241,6 @@ function returnError (cb: () => any) {
242
241
}
243
242
}
244
243
245
-
246
244
function isRef ( raw : any ) : boolean {
247
245
return ! ! raw . __v_isRef
248
246
}
@@ -456,14 +454,14 @@ export function findInstanceOrVnode (id) {
456
454
return instanceMap . get ( id )
457
455
}
458
456
459
- export function editState (
457
+ export function editState (
460
458
{
461
459
componentInstance,
462
460
path,
463
461
state,
464
- type
462
+ type,
465
463
} : HookPayloads [ Hooks . EDIT_COMPONENT_STATE ] ,
466
- stateEditor : StateEditor
464
+ stateEditor : StateEditor ,
467
465
) {
468
466
if ( ! [ 'data' , 'props' , 'computed' , 'setup' ] . includes ( type ) ) return
469
467
@@ -493,6 +491,6 @@ export function editState(
493
491
target ,
494
492
targetPath ,
495
493
'value' in state ? state . value : undefined ,
496
- stateEditor . createDefaultSetCallback ( state )
494
+ stateEditor . createDefaultSetCallback ( state ) ,
497
495
)
498
496
}
You can’t perform that action at this time.
0 commit comments