types: optimization type

This commit is contained in:
xiaoxian521
2021-09-19 19:41:38 +08:00
parent 8458d5d37b
commit feb1498d29
5 changed files with 9 additions and 8 deletions

View File

@@ -1,8 +1,8 @@
<script setup lang="ts">
import { ref, watch, Ref } from "vue";
import { ref, watch } from "vue";
import { useRoute, useRouter, RouteLocationMatched } from "vue-router";
const levelList: Ref<RouteLocationMatched[]> = ref([]);
const levelList = ref([]);
const route = useRoute();
const router = useRouter();