rexma-design 1.4.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -267,7 +267,7 @@ function onImageClick(e: TouchEvent) {
267
267
  x: formatNumber(clickPoint.x / originScale),
268
268
  y: formatNumber(clickPoint.y / originScale),
269
269
  };
270
- const currentMark = props.marks.find((item) => {
270
+ const currentMark = (props.marks || []).find((item) => {
271
271
  return (
272
272
  originPoint.x >= item.start[0] &&
273
273
  originPoint.x <= item.end[0] &&
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "id": "rexma-design",
3
3
  "name": "rexma-design",
4
4
  "displayName": "rexma-design",
5
- "version": "1.4.0",
5
+ "version": "1.4.1",
6
6
  "description": "rexma-design",
7
7
  "author": "mqyun",
8
8
  "keywords": [