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

37 lines
990 B
JavaScript
Raw Normal View History

2024-09-19 07:20:14 +08:00
"use strict";
const common_vendor = require("../common/vendor.js");
const common_assets = require("../common/assets.js");
const _sfc_main = {
name: "EmptyState",
props: {
type: {
type: String,
default: "default"
},
message: {
type: String,
default: "空空如也!"
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: this.type == "map"
}, this.type == "map" ? {
b: common_assets._imports_0
} : this.type == "search" ? {
d: common_assets._imports_1
} : this.type == "message" ? {
f: common_assets._imports_2
} : {
g: common_assets._imports_1
}, {
c: this.type == "search",
e: this.type == "message",
h: common_vendor.t($props.message)
});
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-f262d0f3"]]);
wx.createComponent(Component);
//# sourceMappingURL=EmptyState.js.map