perf: update

This commit is contained in:
xiaoxian521
2022-11-12 09:55:20 +08:00
parent df71c7f75c
commit 4f5f18f61c
17 changed files with 368 additions and 377 deletions

View File

@@ -1,6 +1,5 @@
<script setup lang="ts">
import { ref, unref, onMounted } from "vue";
import { templateRef } from "@vueuse/core";
import { LogicFlow } from "@logicflow/core";
interface Props {
@@ -16,8 +15,8 @@ const emit = defineEmits<{
(e: "catData"): void;
}>();
const controlButton3 = templateRef<HTMLElement | any>("controlButton3", null);
const controlButton4 = templateRef<HTMLElement | any>("controlButton4", null);
const controlButton3 = ref();
const controlButton4 = ref();
const focusIndex = ref<Number>(-1);
const titleLists = ref([