Skip to content

Commit

Permalink
build(core): build dist
Browse files Browse the repository at this point in the history
  • Loading branch information
dlhandsome authored and Gcaufy committed Jun 6, 2019
1 parent b6669fa commit 033ea98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/dist/wepy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2153,8 +2153,8 @@ function patchLifecycle (output, options, rel, isComponent) {
var lifecycle$1 = getLifecycycle(WEAPP_PAGE_LIFECYCLE, rel, 'page');

lifecycle$1.forEach(function (k) {
if (!pageLifecycle[k] && options[k] && (isFunc(options[k]) || isArr(options[k]))) {
pageLifecycle[k] = function () {
if (!output[k] && options[k] && (isFunc(options[k]) || isArr(options[k]))) {
output[k] = function () {
var args = [], len = arguments.length;
while ( len-- ) args[ len ] = arguments[ len ];

Expand Down

0 comments on commit 033ea98

Please sign in to comment.