Skip to content

Commit 09ee8b2

Browse files
committed
test(lint): fix
1 parent 4c9e6fa commit 09ee8b2

File tree

1 file changed

+4
-6
lines changed
  • packages/app-backend-vue2/src/components

1 file changed

+4
-6
lines changed

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ function processState (instance): ComponentState[] {
188188
}))
189189
}
190190

191-
192191
function processSetupState (instance) {
193192
const state = instance._setupProxy || instance
194193
const raw = instance._setupState
@@ -242,7 +241,6 @@ function returnError (cb: () => any) {
242241
}
243242
}
244243

245-
246244
function isRef (raw: any): boolean {
247245
return !!raw.__v_isRef
248246
}
@@ -456,14 +454,14 @@ export function findInstanceOrVnode (id) {
456454
return instanceMap.get(id)
457455
}
458456

459-
export function editState(
457+
export function editState (
460458
{
461459
componentInstance,
462460
path,
463461
state,
464-
type
462+
type,
465463
}: HookPayloads[Hooks.EDIT_COMPONENT_STATE],
466-
stateEditor: StateEditor
464+
stateEditor: StateEditor,
467465
) {
468466
if (!['data', 'props', 'computed', 'setup'].includes(type)) return
469467

@@ -493,6 +491,6 @@ export function editState(
493491
target,
494492
targetPath,
495493
'value' in state ? state.value : undefined,
496-
stateEditor.createDefaultSetCallback(state)
494+
stateEditor.createDefaultSetCallback(state),
497495
)
498496
}

0 commit comments

Comments
 (0)