We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b068f80 commit 8f4d5bbCopy full SHA for 8f4d5bb
packages/core/weapp/init/mixins.js
@@ -21,7 +21,7 @@ function initStrats () {
21
22
strats = config.optionMergeStrategies;
23
24
- strats.data = strats.props = strats.methods = strats.computed = strats.watch = function (output, option, key, data) {
+ strats.data = strats.props = strats.methods = strats.computed = strats.watch = strats.hooks = function (output, option, key, data) {
25
option[key] = simpleMerge(option[key], data);
26
};
27
0 commit comments