Files
chengkai3 febf8b6c67 [fix]:[FL-226][ATP模型上传时去掉最外层目录]
修改上传逻辑,在打包ZIP时自动去掉选中文件夹的最外层目录名,
只保留里面的文件和子目录结构。

示例:
- 选择文件夹:/my-model/subdir/file.txt
- 之前上传后:my-model/subdir/file.txt
- 现在上传后:subdir/file.txt

实现细节:
- 解析webkitRelativePath,按/分割路径
- 使用slice(1)去掉第一个路径段(最外层目录名)
- 重新拼接剩余路径段

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
2026-06-28 22:43:46 +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.