Feat: Add log-detail page,Improve the style of chat boxes (#9119)

### What problem does this PR solve?

Feat: Add log-detail page,Improve the style of chat boxes #3221

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
chanx
2025-07-30 17:38:31 +08:00
committed by GitHub
parent 840abd5239
commit db6d4307f2
9 changed files with 210 additions and 78 deletions

View File

@ -143,6 +143,9 @@ const TimeRangePicker = ({
const [date, setDate] = useState<DateRange | undefined>(
selectDateRange || { from: today, to: today },
);
useEffect(() => {
setDate(selectDateRange);
}, [selectDateRange]);
const onChange = (e: DateRange | undefined) => {
if (!e) return;
setDate(e);