"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
