23 lines
569 B
JavaScript
23 lines
569 B
JavaScript
|
"use strict";
|
||
|
const common_vendor = require("../../../common/vendor.js");
|
||
|
if (!Array) {
|
||
|
const _component_layout_default_uni = common_vendor.resolveComponent("layout-default-uni");
|
||
|
_component_layout_default_uni();
|
||
|
}
|
||
|
const _sfc_main = {
|
||
|
__name: "webview",
|
||
|
setup(__props) {
|
||
|
const url = common_vendor.ref("");
|
||
|
common_vendor.onLoad((options) => {
|
||
|
url.value = decodeURIComponent(options.url);
|
||
|
});
|
||
|
return (_ctx, _cache) => {
|
||
|
return {
|
||
|
a: url.value
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
};
|
||
|
wx.createPage(_sfc_main);
|
||
|
//# sourceMappingURL=webview.js.map
|