From 263eea0210bc9f9e133f04c5dd6183f85925d40c Mon Sep 17 00:00:00 2001 From: jmal Date: Mon, 18 Mar 2024 00:05:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=A7=E8=BE=B9=E6=A0=8F=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ShowFile/ShowFile.vue | 1 + src/components/SvgIcon/index.vue | 4 + src/layout/components/Sidebar/index.vue | 151 +++++++++++++++++++----- src/router/index.js | 13 +- src/styles/sidebar.scss | 4 +- src/styles/variables.scss | 2 +- src/views/tag/index.vue | 46 ++++++++ 7 files changed, 188 insertions(+), 33 deletions(-) create mode 100644 src/views/tag/index.vue diff --git a/src/components/ShowFile/ShowFile.vue b/src/components/ShowFile/ShowFile.vue index dd68c90..855cbe1 100644 --- a/src/components/ShowFile/ShowFile.vue +++ b/src/components/ShowFile/ShowFile.vue @@ -2746,6 +2746,7 @@ export default { order: this.sortable.order, isFolder: this.queryCondition.isFolder, isFavorite: this.queryCondition.isFavorite, + tagId: this.queryCondition.tagId, queryCondition: this.queryCondition, pageIndex: this.pagination.pageIndex, pageSize: this.pagination.pageSize diff --git a/src/components/SvgIcon/index.vue b/src/components/SvgIcon/index.vue index 9a3318e..08047e8 100644 --- a/src/components/SvgIcon/index.vue +++ b/src/components/SvgIcon/index.vue @@ -19,6 +19,10 @@ export default { className: { type: String, default: '' + }, + slot: { + type: String, + default: '' } }, computed: { diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index 176c544..66a305c 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -1,31 +1,59 @@