代码微调,删除无用代码

This commit is contained in:
walker 2023-05-23 11:24:38 +08:00
parent 547f32c31c
commit 132a4897ec
2 changed files with 1 additions and 22 deletions

View File

@ -1,12 +1,6 @@
<template> <template>
<q-form> <q-form>
<q-input <q-input outlined readonly v-model="linkModel.id" label="id" hint="" />
outlined
readonly
v-model="linkModel.id"
label="id"
:rules="[(val) => val || '']"
/>
<q-input <q-input
outlined outlined
v-model.number="linkModel.lineWidth" v-model.number="linkModel.lineWidth"

View File

@ -206,21 +206,6 @@ export function getCenterOfTwoRectangle(
return new Point(x, y); 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 * @param obj