Skip to content

Commit

Permalink
fix(core): changed mixin runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcaufy committed Jan 10, 2019
1 parent b1bc8b9 commit 986974b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/core/weapp/init/mixins.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@ function initStrats () {
if (!option[key]) {
option[key] = isArr(data) ? data: [data];
} else {
if (isArr(option[key])) {
option[key].push(data);
} else {
option[key] = [ option[key] ].concat(data);
}
option[key] = [ data ].concat(option[key]);
}
}
}
Expand Down

0 comments on commit 986974b

Please sign in to comment.