From b87a62647d1c00365f16cdfb1a4a8fd7d6815389 Mon Sep 17 00:00:00 2001 From: wang_fan_w <2547096351@qq.com> Date: Wed, 10 Jul 2024 23:58:46 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E9=9A=8F=E6=9C=BA=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components.d.ts | 1 - src/style.css | 2 +- src/style/index.scss | 13 ++-- .../components/file-table.vue | 70 ++++++++++++++----- .../custom-table/custom-table.vue | 9 ++- src/vite-env.d.ts | 3 +- 6 files changed, 70 insertions(+), 28 deletions(-) diff --git a/src/components.d.ts b/src/components.d.ts index 9a067fb..c9223d2 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -7,7 +7,6 @@ export {} declare module 'vue' { export interface GlobalComponents { - CodemirrorCode: typeof import('./components/codemirror-code/index.vue')['default'] CodeView: typeof import('./components/code-view/index.vue')['default'] ExternalLinkPage: typeof import('./components/external-link-page/index.vue')['default'] FillPage: typeof import('./components/fill-page/index.vue')['default'] diff --git a/src/style.css b/src/style.css index 8640e58..681b593 100644 --- a/src/style.css +++ b/src/style.css @@ -1 +1 @@ -@import "./style/index.scss"; +@import "@/style/index.scss"; \ No newline at end of file diff --git a/src/style/index.scss b/src/style/index.scss index 8e8a30a..0076744 100644 --- a/src/style/index.scss +++ b/src/style/index.scss @@ -1,9 +1,10 @@ -@import "./global-theme.scss"; -@import "./global-transition.scss"; -@import "./global-style.scss"; -@import "./loading-page.scss"; -@import "./card-animation.scss"; -@import "./media/media.scss"; +@import "@/style/global-theme.scss"; +@import "@/style/global-transition.scss"; +@import "@/style/global-style.scss"; +@import "@/style/loading-page.scss"; +@import "@/style/card-animation.scss"; +@import "@/style/media/media.scss"; + * { margin: 0; padding: 0; diff --git a/src/views/file-management/document-library/components/file-table.vue b/src/views/file-management/document-library/components/file-table.vue index 431a5da..8c5dde6 100644 --- a/src/views/file-management/document-library/components/file-table.vue +++ b/src/views/file-management/document-library/components/file-table.vue @@ -29,7 +29,7 @@ - + @@ -47,7 +47,8 @@ :bordered="{ cell: true }" - :data="data" + :loading="loading" + :data="list" :row-selection="rowSelection" v-model:selectedKeys="selectedKeys" :pagination="pagination" @@ -74,7 +75,7 @@ - + - + @@ -110,6 +111,8 @@