Evan You 7 лет назад
Родитель
Сommit
c4481a49e8
1 измененных файлов с 9 добавлено и 3 удалено
  1. 9 3
      packages/core/src/componentProps.ts

+ 9 - 3
packages/core/src/componentProps.ts

@@ -1,10 +1,9 @@
-import { EMPTY_OBJ, nativeOnRE, vnodeHookRE } from './utils'
+import { immutable, unwrap, lock, unlock } from '@vue/observer'
 import {
   ComponentClass,
   MountedComponent,
   FunctionalComponent
 } from './component'
-import { immutable, unwrap, lock, unlock } from '@vue/observer'
 import {
   Data,
   ComponentPropsOptions,
@@ -12,7 +11,14 @@ import {
   Prop,
   PropType
 } from './componentOptions'
-import { camelize, hyphenate, capitalize } from './utils'
+import {
+  EMPTY_OBJ,
+  nativeOnRE,
+  vnodeHookRE,
+  camelize,
+  hyphenate,
+  capitalize
+} from './utils'
 
 export function initializeProps(instance: MountedComponent, data: Data | null) {
   const { props, attrs } = resolveProps(