From da755bc13b3b11bee4b57653732ad8a32d5f4fbd Mon Sep 17 00:00:00 2001 From: leiqiaochu Date: Thu, 16 Mar 2023 17:19:46 +0800 Subject: [PATCH 1/4] fix: bug#10455 10451 10448 10446 10449 10452 10488 --- src/components/Upload/index.vue | 4 + .../Category/components/modifyModal/index.vue | 15 ++-- src/views/device/Category/index.vue | 48 ++++------- src/views/device/Product/Save/index.vue | 82 ++++--------------- src/views/device/Product/index.vue | 3 - 5 files changed, 41 insertions(+), 111 deletions(-) diff --git a/src/components/Upload/index.vue b/src/components/Upload/index.vue index 36da6a30..a4267169 100644 --- a/src/components/Upload/index.vue +++ b/src/components/Upload/index.vue @@ -89,6 +89,10 @@ const props: JUploadProps = defineProps({ type: String, default: '', }, + accept:{ + type:Array, + default:()=>[], + } }); const loading = ref(false); diff --git a/src/views/device/Category/components/modifyModal/index.vue b/src/views/device/Category/components/modifyModal/index.vue index b3137349..8d947d74 100644 --- a/src/views/device/Category/components/modifyModal/index.vue +++ b/src/views/device/Category/components/modifyModal/index.vue @@ -1,10 +1,11 @@