我正在构建一个反应管理应用程序,但是翻译似乎有问题,我只看到标准元素的翻译键 Translation keys
import React from 'react';
import { Admin, Resource, ListGuesser } from 'react-admin';
import fakeDataProvider from 'ra-data-fakerest';
const fakeData = {
region: [
{ name: "A" }, { name: "B" }
]
}
const dataProvider = fakeDataProvider({ region: fakeData.region }, true);
class App2 extends React.Component<{}, {}> {
render() {
return <Admin dataProvider={dataProvider}>
<Resource name="region" list={ListGuesser} />
</Admin>
}
}
export default App2;