fix: ensure consistent behavior in dev/prod

This commit is contained in:
Evan You 2018-09-26 11:29:55 -04:00
parent 7a1c34690a
commit 5e5dd7b44c

View File

@ -36,16 +36,14 @@ export class Provide extends Component {
} }
} }
if (__DEV__) { Provide.options = {
Provide.options = { props: {
props: { id: {
id: { type: [String, Symbol],
type: [String, Symbol], required: true
required: true },
}, value: {
value: { required: true
required: true
}
} }
} }
} }