diff --git a/app/components/contracts/PlaceholderForm.tsx b/app/components/contracts/PlaceholderForm.tsx index ed3ba98..eb8a3bd 100644 --- a/app/components/contracts/PlaceholderForm.tsx +++ b/app/components/contracts/PlaceholderForm.tsx @@ -199,7 +199,9 @@ export function PlaceholderForm({ onChange={(e) => handleFieldChange(field.key, e.target.value)} onClick={(e) => handleFieldClick(e, field.key)} placeholder={field.placeholder || `请输入${field.label}`} - className="flex-1 px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all duration-150 resize-none bg-white text-gray-900 placeholder-gray-400 text-sm" + className="flex-1 px-3 py-2 border border-gray-300 rounded-lg focus:outline-none + focus:ring-2 focus:ring-[#004d38]/20 focus:border-[#004d38] transition-all duration-150 + resize-none bg-white text-gray-900 placeholder-gray-400 text-sm" rows={3} /> ) : ( @@ -209,7 +211,9 @@ export function PlaceholderForm({ onChange={(e) => handleFieldChange(field.key, e.target.value)} onClick={(e) => handleFieldClick(e, field.key)} placeholder={field.placeholder || `请输入${field.label}`} - className="flex-1 px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all duration-150 bg-white text-gray-900 placeholder-gray-400 text-sm" + className="flex-1 px-3 py-2 border border-gray-300 rounded-lg + focus:outline-none focus:ring-2 focus:ring-[#004d38]/20 focus:border-[#004d38] + transition-all duration-150 bg-white text-gray-900 placeholder-gray-400 text-sm" /> )} diff --git a/app/components/rules/new/ReviewSettings.tsx b/app/components/rules/new/ReviewSettings.tsx index 3df7597..dd4dc3c 100644 --- a/app/components/rules/new/ReviewSettings.tsx +++ b/app/components/rules/new/ReviewSettings.tsx @@ -1993,7 +1993,7 @@ export function ReviewSettings({ - + {/* */}
选择评查类型后将显示对应的配置项
diff --git a/app/hooks/dify-chat-apps/useChatApps.ts b/app/hooks/dify-chat-apps/useChatApps.ts index cbce67d..1b72a92 100644 --- a/app/hooks/dify-chat-apps/useChatApps.ts +++ b/app/hooks/dify-chat-apps/useChatApps.ts @@ -97,6 +97,7 @@ export function useChatApps() { if (apps.length > 0) { // 查找默认应用 const defaultApp = apps.find((item) => item.is_default) || apps[0]; + // console.log('[useChatApps] 默认对话应用:', apps); setCurrentChatApp(defaultApp); } else { // 如果没有配置应用,尝试获取默认应用 diff --git a/app/models/evaluation_points.ts b/app/models/evaluation_points.ts index 460ead1..fe7a603 100644 --- a/app/models/evaluation_points.ts +++ b/app/models/evaluation_points.ts @@ -252,7 +252,7 @@ export const EVALUATION_OPTIONS = { { value: 'logic', label: '逻辑判断' }, { value: 'regex', label: '正则表达式' }, { value: 'ai', label: '大模型判断' }, - { value: 'code', label: '自定义代码' } + // { value: 'code', label: '自定义代码' } ], // 逻辑操作符选项