19 lines
472 B
JavaScript
19 lines
472 B
JavaScript
"use strict";
|
|
const common_vendor = require("../../../common/vendor.js");
|
|
require("../../adapter-vue.js");
|
|
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
__name: "web-view",
|
|
setup(__props) {
|
|
const url = common_vendor.ref("");
|
|
common_vendor.onLoad((option) => {
|
|
url.value = option && option.url;
|
|
});
|
|
return (_ctx, _cache) => {
|
|
return {
|
|
a: common_vendor.unref(url)
|
|
};
|
|
};
|
|
}
|
|
});
|
|
wx.createPage(_sfc_main);
|