Browse Source

解决编译失败

lizi 2 years ago
parent
commit
9434c08b61
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/views/search/components/SearchResultItem.vue

+ 1 - 2
src/views/search/components/SearchResultItem.vue

@@ -1,8 +1,7 @@
 <script setup lang="ts">
-// import type { PropType } from "vue";
+import type { PropType } from "vue";
 import type { SearchResultDoc } from "@/types/search.types";
 import type { ResultMode } from "@/types/search.types";
-import { type PropType, onMounted } from "vue"
 
 const props = defineProps({
   data: {