diff --git a/src/app/admin/content/[modelCode]/[itemId]/page.tsx b/src/app/admin/content/[modelCode]/[itemId]/page.tsx index 6498c95..d5a38e8 100644 --- a/src/app/admin/content/[modelCode]/[itemId]/page.tsx +++ b/src/app/admin/content/[modelCode]/[itemId]/page.tsx @@ -105,8 +105,8 @@ function JsonEditor({ onChange={(e) => handleChange(e.target.value)} placeholder={placeholder || '输入 JSON 数据'} rows={10} - className={`w-full px-3 py-2 border rounded-lg text-sm font-mono focus:outline-none focus:ring-2 focus:ring-gray-900 focus:border-transparent resize-y ${ - error || parseError ? 'border-red-300 bg-red-50' : 'border-gray-300' + className={`w-full px-3 py-2 border rounded-lg text-sm font-mono focus:outline-none focus:ring-2 focus:ring-border-dark focus:border-transparent resize-y ${ + error || parseError ? 'border-red-300 bg-red-50' : 'border-border-secondary' }`} spellCheck={false} /> @@ -420,12 +420,12 @@ export default function ContentEditorPage() { case 'text': return (
-