Files
fquiz/web
chengkai3 75316e788e [fix]:[FL-226][ATP模型上传支持目录]
恢复ATP模型上传时的目录选择功能,同时保持去掉提示信息的改动。

修改内容:
- 恢复Upload组件的directory和multiple属性,允许用户选择文件夹
- 将按钮文本从"选择文件"改回"选择文件夹"
- 恢复ZIP打包逻辑,将选中的文件夹内容打包成ZIP后上传
- 修复beforeUpload回调,使用prev => [...prev, file]累加文件而不是覆盖

技术细节:
后端upload_asset_files函数已支持ZIP文件自动解压(检测.zip扩展名),
因此前端需要将目录文件打包成ZIP上传,以保留目录结构。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
2026-06-28 22:13:10 +08:00
..
2026-04-26 00:14:25 +08:00
2026-04-26 00:14:25 +08:00
2026-04-24 15:50:52 +08:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.