hldy_xcx/unpackage/dist/dev/mp-weixin/compontent/public/exit.js

36 lines
934 B
JavaScript

"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
__name: "exit",
props: {
show: {
type: Boolean,
default: true
}
},
emits: ["close"],
setup(__props, { emit: __emit }) {
const emit = __emit;
function handleClose() {
emit("close");
}
const go = () => {
common_vendor.index.exitMiniProgram({});
};
return (_ctx, _cache) => {
return {
a: common_vendor.o(handleClose),
b: common_vendor.o(handleClose),
c: common_vendor.o(go),
d: common_vendor.o(() => {
}),
e: common_vendor.n(__props.show ? "is-active" : ""),
f: __props.show
};
};
}
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-843c2bd8"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/compontent/public/exit.js.map