代码微调,删除无用代码
This commit is contained in:
parent
547f32c31c
commit
132a4897ec
@ -1,12 +1,6 @@
|
||||
<template>
|
||||
<q-form>
|
||||
<q-input
|
||||
outlined
|
||||
readonly
|
||||
v-model="linkModel.id"
|
||||
label="id"
|
||||
:rules="[(val) => val || '']"
|
||||
/>
|
||||
<q-input outlined readonly v-model="linkModel.id" label="id" hint="" />
|
||||
<q-input
|
||||
outlined
|
||||
v-model.number="linkModel.lineWidth"
|
||||
|
@ -206,21 +206,6 @@ export function getCenterOfTwoRectangle(
|
||||
return new Point(x, y);
|
||||
}
|
||||
|
||||
/**
|
||||
* 增量更新点坐标
|
||||
* @param p
|
||||
* @param dx
|
||||
* @param dy
|
||||
*/
|
||||
export function updatePoint<P extends IPointData>(
|
||||
p: P,
|
||||
dx: number,
|
||||
dy: number
|
||||
): P {
|
||||
p.x += dx;
|
||||
p.y += dy;
|
||||
return p;
|
||||
}
|
||||
/**
|
||||
* 序列化图形变换
|
||||
* @param obj
|
||||
|
Loading…
Reference in New Issue
Block a user