mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-19 04:19:30 +08:00
删除部分无用变量与引入
This commit is contained in:
parent
d9521f965d
commit
d469af21a4
@ -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;
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user