acdr-ui/dist/dev/mp-weixin/components/TopBar.js

30 lines
709 B
JavaScript

"use strict";
const common_vendor = require("../common/vendor.js");
if (!Array) {
const _easycom_wd_icon2 = common_vendor.resolveComponent("wd-icon");
_easycom_wd_icon2();
}
const _easycom_wd_icon = () => "../node-modules/wot-design-uni/components/wd-icon/wd-icon.js";
if (!Math) {
_easycom_wd_icon();
}
const _sfc_main = {
__name: "TopBar",
setup(__props) {
const toBack = () => {
common_vendor.index.navigateBack();
};
return (_ctx, _cache) => {
return {
a: common_vendor.o(toBack),
b: common_vendor.p({
size: "30px",
name: "arrow-left"
})
};
};
}
};
wx.createComponent(_sfc_main);
//# sourceMappingURL=TopBar.js.map