From 1b29984bfe3a58981f3f59d1acd46043dd458d2b Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Fri, 6 Sep 2019 18:31:55 +0800 Subject: [PATCH] feat(app-plus-nvue): getCurrentPages(returnAll) --- packages/uni-app-plus-nvue/dist/service.legacy.js | 4 ++-- src/platforms/app-plus-nvue/services/index.legacy.js | 4 ++-- src/platforms/app-plus-nvue/services/index.legacy.old.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/uni-app-plus-nvue/dist/service.legacy.js b/packages/uni-app-plus-nvue/dist/service.legacy.js index d923de8a4d..c92ccebb89 100644 --- a/packages/uni-app-plus-nvue/dist/service.legacy.js +++ b/packages/uni-app-plus-nvue/dist/service.legacy.js @@ -852,8 +852,8 @@ var index_legacy_old = { getUniEmitter () { return getGlobalUniEmitter() }, - getCurrentPages () { - return getGlobalCurrentPages() + getCurrentPages (returnAll) { + return getGlobalCurrentPages(returnAll) } } } diff --git a/src/platforms/app-plus-nvue/services/index.legacy.js b/src/platforms/app-plus-nvue/services/index.legacy.js index d9613cfcf8..c062218e04 100644 --- a/src/platforms/app-plus-nvue/services/index.legacy.js +++ b/src/platforms/app-plus-nvue/services/index.legacy.js @@ -33,8 +33,8 @@ export function createInstanceContext () { getUniEmitter () { return getGlobalUniEmitter() }, - getCurrentPages () { - return getGlobalCurrentPages() + getCurrentPages (returnAll) { + return getGlobalCurrentPages(returnAll) } } } diff --git a/src/platforms/app-plus-nvue/services/index.legacy.old.js b/src/platforms/app-plus-nvue/services/index.legacy.old.js index 4ceab2069b..bb3b20ffd5 100644 --- a/src/platforms/app-plus-nvue/services/index.legacy.old.js +++ b/src/platforms/app-plus-nvue/services/index.legacy.old.js @@ -35,8 +35,8 @@ export default { getUniEmitter () { return getGlobalUniEmitter() }, - getCurrentPages () { - return getGlobalCurrentPages() + getCurrentPages (returnAll) { + return getGlobalCurrentPages(returnAll) } } } -- GitLab