mirror of
https://github.com/yudaocode/yudao-ui-admin-vue3.git
synced 2026-05-13 14:30:34 +00:00
@@ -33,6 +33,8 @@ const message = useMessage()
|
||||
|
||||
const props = defineProps<{ type: UploadType }>()
|
||||
|
||||
const accountId = inject<number>('accountId')
|
||||
|
||||
const fileList = ref<UploadUserFile[]>([])
|
||||
const emit = defineEmits<{
|
||||
(e: 'uploaded', v: void)
|
||||
@@ -41,7 +43,8 @@ const emit = defineEmits<{
|
||||
const uploadData: UploadData = reactive({
|
||||
type: UploadType.Image,
|
||||
title: '',
|
||||
introduction: ''
|
||||
introduction: '',
|
||||
accountId: accountId!
|
||||
})
|
||||
|
||||
/** 上传前检查 */
|
||||
|
||||
Reference in New Issue
Block a user