skyouc
2025-04-30 6eec4237238688ada5cb86e7dab4f1b6273887f1
rsf-admin/src/page/components/DictSelect.jsx
@@ -1,6 +1,6 @@
import { useState, useEffect } from 'react';
import {
    useTranslate, useNotify
    useTranslate, useNotify, required
} from 'react-admin';
import request from '@/utils/request';
import { Select, MenuItem, FormControl, InputLabel } from '@mui/material';
@@ -44,8 +44,10 @@
            <Select
                labelId="demo-select-small-label"
                value={validValue}
                variant="filled"
                onChange={handleChange}
                size='small'
            >
                {list.map((item) => (
                    <MenuItem key={item.value} value={item.value}>