label-print-design
Version:
操作简单,组件丰富的一站式打印解决方案打印设计器
32 lines (29 loc) • 848 B
JavaScript
import { defineComponent, openBlock, createElementBlock, normalizeStyle, unref } from 'vue';
import { computed } from 'vue-demi';
import { computedStyle } from '../../line/computeStyle.mjs';
var _sfc_main = /* @__PURE__ */ defineComponent({
__name: "dottedRect",
props: {
element: { type: Object, default: () => ({}) }
},
setup(__props) {
const props = __props;
const labelStyle = computed(() => {
return computedStyle(props.element, "rect", "solid");
});
return (_ctx, _cache) => {
return openBlock(), createElementBlock(
"div",
{
class: "my-print-dotted-rect__wrapper",
style: normalizeStyle(unref(labelStyle))
},
null,
4
/* STYLE */
);
};
}
});
export { _sfc_main as default };
//# sourceMappingURL=dottedRect.vue2.mjs.map