From d8ce99b53f47e4422377dd2b0dfca6c18adecb0c Mon Sep 17 00:00:00 2001 From: lyc Date: Mon, 15 Jul 2024 19:41:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/file-image/index.vue | 4 +-- .../views/resource/container/resoure-list.vue | 36 +++++++++++++------ src/renderer/src/views/resource/store.js | 2 ++ 3 files changed, 29 insertions(+), 13 deletions(-) diff --git a/src/renderer/src/components/file-image/index.vue b/src/renderer/src/components/file-image/index.vue index 3cc460b..575e957 100644 --- a/src/renderer/src/components/file-image/index.vue +++ b/src/renderer/src/components/file-image/index.vue @@ -13,8 +13,8 @@ const props = defineProps({ default: '' }, size: { - type: String, - default: '30' + type: Number, + default: 30 } }) diff --git a/src/renderer/src/views/resource/container/resoure-list.vue b/src/renderer/src/views/resource/container/resoure-list.vue index 5d94c40..80f65ba 100644 --- a/src/renderer/src/views/resource/container/resoure-list.vue +++ b/src/renderer/src/views/resource/container/resoure-list.vue @@ -5,7 +5,7 @@