91c9877e0a
问题描述: 在编辑ATP模型时,下拉框中已选中的选项无法被重新选择。 根本原因: CreatableSingleSelect组件使用了mode="tags"的Select,但onChange处理逻辑不够完善, 导致在某些情况下选择操作无法正确更新表单值。 解决方案: 1. 将value的规范化逻辑提取为独立变量,提高代码可读性 2. 改进onChange处理逻辑,明确处理空数组和非空数组的情况 3. 添加tokenSeparators配置,支持逗号分隔输入新值 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: multica-agent <github@multica.ai>
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:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
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.