Skip to content

Commit

Permalink
chore: build harmony
Browse files Browse the repository at this point in the history
  • Loading branch information
zhetengbiji committed Sep 19, 2024
1 parent 7d4ddb7 commit 98b0301
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/uni-app-harmony/dist/uni.runtime.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -9257,6 +9257,13 @@ function getLaunchOptions() {
function getEnterOptions() {
return extend({}, enterOptions);
}
function initEnterOptions({ path, query, referrerInfo, }) {
extend(enterOptions, {
path,
query: query ? parseQuery(query) : {},
referrerInfo: referrerInfo || {},
});
}
function initLaunchOptions({ path, query, referrerInfo, }) {
extend(launchOptions, {
path,
Expand Down Expand Up @@ -13991,7 +13998,10 @@ function initGlobalEvent() {
emit(ON_APP_ENTER_BACKGROUND);
});
plusGlobalEvent.addEventListener('resume', () => {
// TODO options
const info = parseRedirectInfo();
if (info && info.userAction) {
initEnterOptions(info);
}
emit(ON_APP_ENTER_FOREGROUND, {});
});
plusGlobalEvent.addEventListener('KeyboardHeightChange', function (event) {
Expand Down

0 comments on commit 98b0301

Please sign in to comment.