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