UNPKG

myprint-design

Version:

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

23 lines (20 loc) 422 B
import { defineStore } from 'pinia'; const dragDataStore = defineStore("myPrintDragData", { state: () => { return { data: { dragIng: false, start: { x: 0, y: 0 }, end: { x: 0, y: 0 } } }; }, actions: { set(type, element) { this.data.element = element; this.data.type = type; } } }); export { dragDataStore }; //# sourceMappingURL=dragStore.mjs.map