From 34c98099b187bef54aa81fc3fa680fe8099eb3ad Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期二, 02 七月 2024 17:55:41 +0800
Subject: [PATCH] feat:资源文件列表接口

---
 src/views/folder/index.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/views/folder/index.vue b/src/views/folder/index.vue
index d74a7fe..ccbe922 100644
--- a/src/views/folder/index.vue
+++ b/src/views/folder/index.vue
@@ -56,7 +56,7 @@
 import { ref } from 'vue';
 import NormalHeader from '@/components/NormalHeader/index.vue';
 import { Search } from '@element-plus/icons-vue';
-
+import { getFileList } from '@/api/modules/file.js';
 
 const fileType = {
   'img': {
@@ -69,14 +69,12 @@
     iconPath: '/static/icons/file_type_video.png',
     handle: (item) => {
       console.log(item);
-
     }
   },
   'pdf': {
     iconPath: '/static/icons/file_type_image.png',
     handle: (item) => {
       console.log(item);
-
     }
   },
 };
@@ -120,6 +118,13 @@
   fileType[item.type] && fileType[item.type].handle(item);
 };
 
+const getData = () => {
+  getFileList().then(res => {
+
+  });
+};
+getData();
+
 </script>
 
 <style lang="scss" scoped>

--
Gitblit v1.8.0