删除部分无用变量与引入

This commit is contained in:
unanmed 2023-02-25 22:41:11 +08:00
parent d9521f965d
commit d469af21a4
2 changed files with 0 additions and 3 deletions

View File

@ -69,7 +69,6 @@ const id = (1e8 * Math.random()).toFixed(0);
const moveSelected = ref(false);
let moveTimeout = 0;
let move: HTMLDivElement;
let main: HTMLDivElement;
let leftB: HTMLDivElement;
let rightB: HTMLDivElement;
@ -144,7 +143,6 @@ function bottomDrag(x: number, y: number) {
function resize() {
main = document.getElementById(`box-${id}`) as HTMLDivElement;
move = document.getElementById(`box-move-${id}`) as HTMLDivElement;
leftB = document.getElementById(`border-left-${id}`) as HTMLDivElement;
topB = document.getElementById(`border-top-${id}`) as HTMLDivElement;
rightB = document.getElementById(`border-right-${id}`) as HTMLDivElement;

View File

@ -18,7 +18,6 @@
</template>
<script lang="ts" setup>
import { now } from 'lodash';
import { sleep, Ticker } from 'mutate-animate';
import { computed, onMounted, ref } from 'vue';
import Box from '../components/box.vue';