sync: soul-admin 页面 | 原因: 前端页面修改
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { useState } from 'react'
|
||||
import { useEffect, useState } from 'react'
|
||||
import { Card, CardContent } from '@/components/ui/card'
|
||||
import { Input } from '@/components/ui/input'
|
||||
import { Label } from '@/components/ui/label'
|
||||
@@ -94,7 +94,7 @@ export function CKBConfigPanel() {
|
||||
}
|
||||
}
|
||||
|
||||
useState(() => { void loadConfig(); return null })
|
||||
useEffect(() => { void loadConfig() }, [])
|
||||
|
||||
return (
|
||||
<Card className="bg-[#0f2137] border-orange-500/30 mb-6">
|
||||
|
||||
Reference in New Issue
Block a user