UNPKG

myprint-design

Version:

操作简单,组件丰富的一站式打印解决方案打印设计器

30 lines (25 loc) 812 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var vue = require('vue'); var vueDemi = require('vue-demi'); var computeStyle = require('../computeStyle.js'); var _sfc_main = /* @__PURE__ */ vue.defineComponent({ __name: "horizontalLine", props: { element: { default: () => ({}) } }, setup(__props) { const props = __props; const labelStyle = vueDemi.computed(() => { return computeStyle.computedStyle(props.element, "horizontal", "solid"); }); return (_ctx, _cache) => { return vue.openBlock(), vue.createElementBlock("div", { class: "my-print-horizontal-line", style: vue.normalizeStyle(vue.unref(labelStyle)) }, null, 4); }; } }); exports.default = _sfc_main; //# sourceMappingURL=horizontalLine.vue2.js.map