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