mirror of https://github.com/vuejs/core.git
fix: ensure consistent behavior in dev/prod
This commit is contained in:
parent
7a1c34690a
commit
5e5dd7b44c
|
|
@ -36,8 +36,7 @@ export class Provide extends Component {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (__DEV__) {
|
Provide.options = {
|
||||||
Provide.options = {
|
|
||||||
props: {
|
props: {
|
||||||
id: {
|
id: {
|
||||||
type: [String, Symbol],
|
type: [String, Symbol],
|
||||||
|
|
@ -47,7 +46,6 @@ if (__DEV__) {
|
||||||
required: true
|
required: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export class Inject extends Component {
|
export class Inject extends Component {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue