File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/runtime-core/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ export function updateProps(
140
140
} = instance
141
141
const rawOptions = instance . type . props
142
142
const rawCurrentProps = toRaw ( props )
143
- const { 0 : options } = normalizePropsOptions ( rawOptions )
143
+ const [ options ] = normalizePropsOptions ( rawOptions )
144
144
145
145
if ( ( optimized || patchFlag > 0 ) && ! ( patchFlag & PatchFlags . FULL_PROPS ) ) {
146
146
if ( patchFlag & PatchFlags . PROPS ) {
@@ -220,7 +220,7 @@ function setFullProps(
220
220
props : Data ,
221
221
attrs : Data
222
222
) {
223
- const { 0 : options , 1 : needCastKeys } = normalizePropsOptions (
223
+ const [ options , needCastKeys ] = normalizePropsOptions (
224
224
instance . type . props
225
225
)
226
226
const emits = instance . type . emits
You can’t perform that action at this time.
0 commit comments