test: test for setup()

This commit is contained in:
Evan You
2019-08-26 18:08:56 -04:00
parent 0ede301cf2
commit 5a754aac81
6 changed files with 203 additions and 24 deletions

View File

@@ -184,7 +184,7 @@ export function resolveProps(
instance.props = __DEV__ ? readonly(props) : props
instance.attrs = options
? __DEV__
? __DEV__ && attrs != null
? readonly(attrs)
: attrs
: instance.props