细节完善
This commit is contained in:
@@ -73,6 +73,10 @@ const onClick = async (e) => {
|
||||
// 确认添加箭矢
|
||||
const confirmAdd = () => {
|
||||
if (props.onChange) {
|
||||
targetPos.value = {
|
||||
x: zoomPos.value.x,
|
||||
y: zoomPos.value.y,
|
||||
};
|
||||
props.onChange({
|
||||
x: arrow.value.x / scale.value,
|
||||
y: arrow.value.y / scale.value,
|
||||
|
||||
Reference in New Issue
Block a user