37 lines
932 B
JavaScript
37 lines
932 B
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const _sfc_main = {
|
|
__name: "model",
|
|
props: {
|
|
show: {
|
|
type: Boolean,
|
|
default: true
|
|
},
|
|
content: {
|
|
type: String,
|
|
default: ""
|
|
}
|
|
},
|
|
emits: ["close"],
|
|
setup(__props, { emit: __emit }) {
|
|
const emit = __emit;
|
|
function handleClose() {
|
|
emit("close");
|
|
}
|
|
return (_ctx, _cache) => {
|
|
return {
|
|
a: common_vendor.o(handleClose),
|
|
b: common_vendor.o(handleClose),
|
|
c: common_vendor.t(__props.content),
|
|
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-5994d25c"]]);
|
|
wx.createComponent(Component);
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/compontent/public/model.js.map
|