Skip to content

Commit e23224b

Browse files
committed
fix: Merge strategy for provide option
Fixes vuejs#6008
1 parent 6300551 commit e23224b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/util/options.js

+1
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ strats.watch = function (parentVal: ?Object, childVal: ?Object): ?Object {
183183
strats.props =
184184
strats.methods =
185185
strats.inject =
186+
strats.provide =
186187
strats.computed = function (parentVal: ?Object, childVal: ?Object): ?Object {
187188
if (!childVal) return Object.create(parentVal || null)
188189
if (!parentVal) return childVal

0 commit comments

Comments
 (0)