bill 8 tháng trước cách đây
mục cha
commit
0f4b48c7e6
2 tập tin đã thay đổi với 2 bổ sung4 xóa
  1. 2 1
      src/views/folder/floder-view.vue
  2. 0 3
      src/views/folder/index.vue

+ 2 - 1
src/views/folder/floder-view.vue

@@ -8,8 +8,9 @@
       class="solid header"
       :class="{ ['root-header']: index === 1 }"
       :style="{ '--index': index }"
+      @click="showChildren = !showChildren"
     >
-      <span @click="showChildren = !showChildren">
+      <span >
         {{ root.title }}
       </span>
       <ui-icon

+ 0 - 3
src/views/folder/index.vue

@@ -11,7 +11,6 @@
     v-if="~currentNdx"
     @close="currentNdx = -1"
   />
-  <Fire v-model:open="showInfo" />
 </template>
 
 <script lang="ts" setup>
@@ -21,13 +20,11 @@ import { getUrlType, MetaType, saveAs } from "@/utils";
 import { Preview, MediaItem } from "@/components/static-preview/index.vue";
 import { floderRoots, getFlatFloders } from "@/store";
 import FloderView from "./floder-view.vue";
-import Fire from "./fire/index.vue";
 
 import type { Floder, FloderRoot } from "@/store";
 import { useViewStack } from "@/hook";
 import { showRightPanoStack } from "@/env";
 
-const showInfo = ref(false);
 const currentNdx = ref(-1);
 const currentItems = ref<MediaItem[]>([]);
 const preview = async ([floder, root]: [Floder, FloderRoot]) => {