webview.js 532 B

123456789101112131415161718
  1. "use strict";
  2. const common_vendor = require("../../common/vendor.js");
  3. const _sfc_main = {
  4. __name: "webview",
  5. setup(__props) {
  6. const url = common_vendor.ref("");
  7. common_vendor.onLoad((options) => {
  8. url.value = decodeURIComponent(options.url);
  9. });
  10. return (_ctx, _cache) => {
  11. return {
  12. a: url.value
  13. };
  14. };
  15. }
  16. };
  17. const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "D:/zx/mall-front-app/pages/public/webview.vue"]]);
  18. wx.createPage(MiniProgramPage);