feat: 绿幕视频创建和微课视频创建
This commit is contained in:
@@ -41,7 +41,6 @@ watchEffect(() => {
|
||||
})
|
||||
|
||||
const onCreateCourseSubmit = async (event: FormSubmitEvent<CreateCourseSchema>) => {
|
||||
console.log(event.data)
|
||||
if (!selected_file.value) {
|
||||
toast.add({
|
||||
title: '未选择文件',
|
||||
@@ -167,6 +166,11 @@ const onCreateCourseSubmit = async (event: FormSubmitEvent<CreateCourseSchema>)
|
||||
</div>
|
||||
|
||||
<UFormGroup label="PPT 文件" required>
|
||||
<template #help>
|
||||
<p class="text-xs text-neutral-400">
|
||||
仅支持 .pptx 格式
|
||||
</p>
|
||||
</template>
|
||||
<FileDnD
|
||||
accept="application/vnd.openxmlformats-officedocument.presentationml.presentation"
|
||||
@change="file => selected_file = file"
|
||||
|
||||
Reference in New Issue
Block a user