zoujiandong 43abd1f3d6 222
2025-07-30 13:58:39 +08:00

16 lines
461 B
JavaScript

"use strict";
function pageUrl() {
const pages = getCurrentPages();
const currentPage = pages[pages.length - 1];
const url = currentPage.route;
const options = currentPage.options;
let fullUrl = url + "?";
for (let key in options) {
fullUrl += `${key}=${options[key]}&`;
}
fullUrl = fullUrl.substring(0, fullUrl.length - 1);
return fullUrl;
}
exports.pageUrl = pageUrl;
//# sourceMappingURL=../../.sourcemap/mp-weixin/utils/pageUrl.js.map