12345678910111213141516171819202122 |
- import { getElementId } from "../../plugins/utils";
- const MODEL = {
- type: "IMAGE",
- x: 0,
- y: 0,
- w: 150,
- h: 100,
- sign: "",
- borderColor: "",
- borderStyle: "",
- content: []
- };
- const getModel = () => {
- return {
- id: getElementId(),
- ...MODEL
- };
- };
- export { MODEL, getModel };
|