diff --git a/src/pages/editor/SourceBox.tsx b/src/pages/editor/SourceBox.tsx index 8f9aea6..2548829 100644 --- a/src/pages/editor/SourceBox.tsx +++ b/src/pages/editor/SourceBox.tsx @@ -235,7 +235,7 @@ const SourceBox = memo((props: SourceBoxProps) => { /> - {clonePointData.length > 0 ? ( + {pointData.length > 0 ? ( { onDragStart={onDragStart} onResizeStop={onResizeStop} > - {clonePointData.map(value => ( + {pointData.map(value => (
handleCurrentCard(e, true, value.id)} > -
@@ -264,7 +263,7 @@ const SourceBox = memo((props: SourceBoxProps) => {
删除
-
+
*/} ))}
@@ -397,6 +396,7 @@ const SourceBox = memo((props: SourceBoxProps) => { pointData, scaleNum, setDragState, + clonePointData, ]); return <>{render}; diff --git a/src/pages/editor/index.less b/src/pages/editor/index.less index 9b37948..97e1ed0 100644 --- a/src/pages/editor/index.less +++ b/src/pages/editor/index.less @@ -142,7 +142,7 @@ border: 2px solid #06c; .tooltip { position: relative; - z-index: 999999; + // z-index: 999999; width: 388px; text-align: right; }