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 @@