摘要:
阅读全文
posted @ 2023-08-20 21:36
前端导师歌谣
阅读(9)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2023-08-20 21:36
前端导师歌谣
阅读(6)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2023-08-20 20:58
前端导师歌谣
阅读(7)
评论(0)
推荐(0)
摘要:
/** @jsxRuntime classic */ import ReactDOM from 'react-dom'; import React from "./kreact" import './index.css'; function FuncGeyao(props) { return <di 阅读全文
posted @ 2023-08-20 20:58
前端导师歌谣
阅读(18)
评论(0)
推荐(0)
摘要:
"dependencies": { "@testing-library/jest-dom": "^5.11.4", "@testing-library/react": "^11.1.0", "@testing-library/user-event": "^12.1.10", "react": "^1 阅读全文
posted @ 2023-08-20 20:57
前端导师歌谣
阅读(27)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2023-08-20 20:57
前端导师歌谣
阅读(10)
评论(0)
推荐(0)
前端学习笔记202308学习笔记第七十叁天-ReactDOM.render is no longer supported in React 18. Use createRoot instead. Un
摘要:
版本太高 我这边是去看react源码 降低react的版本即可 最好降低为存在的版本 阅读全文
posted @ 2023-08-20 20:57
前端导师歌谣
阅读(30)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2023-08-20 20:56
前端导师歌谣
阅读(16)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2023-08-20 20:55
前端导师歌谣
阅读(12)
评论(0)
推荐(0)
摘要:
import { Admin } from 'react-admin'; const App = () => ( <Admin dataProvider={dataProvider} theme={lightTheme} darkTheme={darkTheme} defaultTheme="lig 阅读全文
posted @ 2023-08-20 20:54
前端导师歌谣
阅读(14)
评论(0)
推荐(0)
摘要:
import { Admin } from 'react-admin'; import { darkTheme, lightTheme } from './themes'; const App = () => ( <Admin dataProvider={dataProvider} theme={l 阅读全文
posted @ 2023-08-20 20:52
前端导师歌谣
阅读(10)
评论(0)
推荐(0)
摘要:
import * as React from "react"; import { Admin } from 'react-admin'; import simpleRestProvider from 'ra-data-simple-rest'; import Dashboard from './Da 阅读全文
posted @ 2023-08-20 20:51
前端导师歌谣
阅读(17)
评论(0)
推荐(0)
摘要:
import * as React from "react"; import Card from '@mui/material/Card'; import CardContent from '@mui/material/CardContent'; import { Title } from 'rea 阅读全文
posted @ 2023-08-20 20:51
前端导师歌谣
阅读(16)
评论(0)
推荐(0)
摘要:
import { Admin } from 'react-admin'; import { createBrowserHistory } from 'history'; const history = createBrowserHistory(); const App = () => ( <Admi 阅读全文
posted @ 2023-08-20 20:51
前端导师歌谣
阅读(16)
评论(0)
推荐(0)
摘要:
const App = () => ( <Admin dataProvider={dataProvider} dashboard={Dashboard}> <Resource name="customers" list={CustomerList} edit={CustomerEdit} /> <R 阅读全文
posted @ 2023-08-20 20:50
前端导师歌谣
阅读(16)
评论(0)
推荐(0)
摘要:
const dataProvider = { getList: (resource, params) => Promise, getOne: (resource, params) => Promise, getMany: (resource, params) => Promise, getManyR 阅读全文
posted @ 2023-08-20 20:50
前端导师歌谣
阅读(15)
评论(0)
推荐(0)
摘要:
import { Admin, Resource } from 'react-admin'; import simpleRestProvider from 'ra-data-simple-rest'; import { PostList } from './posts'; const App = ( 阅读全文
posted @ 2023-08-20 20:50
前端导师歌谣
阅读(14)
评论(0)
推荐(0)
摘要:
setStyleSelect(categoryId) setCategorySelect("") setSelectTitle(false) const url = `StyleListView/${categoryId}` navigate(url) props.handleNavigate&&p 阅读全文
posted @ 2023-08-20 20:49
前端导师歌谣
阅读(11)
评论(0)
推荐(0)
摘要:
import { Edit, SimpleForm, TextInput } from 'react-admin'; import { useParams } from 'react-router-dom'; export const SongDetail = () => { const { id, 阅读全文
posted @ 2023-08-20 20:49
前端导师歌谣
阅读(8)
评论(0)
推荐(0)
摘要:
import { Admin, Resource } from 'react-admin'; import { Route } from 'react-router-dom'; export const App = () => ( <Admin dataProvider={dataProvider} 阅读全文
posted @ 2023-08-20 20:49
前端导师歌谣
阅读(16)
评论(0)
推荐(0)

浙公网安备 33010602011771号