feat(front): implement file sharing and download functionality with improved type safety

This commit is contained in:
keven1024
2025-05-15 17:26:40 +08:00
parent 9f429626d7
commit 0bab15d519
6 changed files with 75 additions and 9 deletions

View File

@@ -40,7 +40,7 @@ const props = defineProps<{
setFieldValue('has_password', false)
}
return true
}) as any" />
})" />
</div>
<div class="flex flex-row gap-3 min-h-9">
<SwitchField name="has_password" label="密码保护" :rules="((value: boolean) => {
@@ -48,7 +48,7 @@ const props = defineProps<{
setFieldValue('has_pickup_code', false)
}
return true
}) as any" />
})" />
<InputField v-if="!!values.has_password" name="password" placeholder="请输入密码" rules="required" />
</div>
<div class="flex flex-row gap-3 min-h-9">