摘要: 阅读全文
posted @ 2023-08-23 20:10 前端导师歌谣 阅读(8) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-08-23 20:10 前端导师歌谣 阅读(13) 评论(0) 推荐(0)
摘要: import { AutocompleteArrayInput } from 'react-admin'; <AutocompleteArrayInput source="categories" choices={[ { id: 'tech', name: 'Tech' }, { id: 'life 阅读全文
posted @ 2023-08-23 20:09 前端导师歌谣 阅读(8) 评论(0) 推荐(0)
摘要: <AutocompleteArrayInput source="roles" choices={[ { id: 'admin', name: 'Admin' }, { id: 'u001', name: 'Editor' }, { id: 'u002', name: 'Moderator' }, { 阅读全文
posted @ 2023-08-23 20:09 前端导师歌谣 阅读(9) 评论(0) 推荐(0)
摘要: <AutocompleteInput source="gender" choices={choices} translateChoice={false}/> const choices = [ { id: 'M', name: 'myroot.gender.male' }, { id: 'F', n 阅读全文
posted @ 2023-08-23 20:09 前端导师歌谣 阅读(6) 评论(0) 推荐(0)
摘要: 代码部分 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>歌谣居中 阅读全文
posted @ 2023-08-22 21:09 前端导师歌谣 阅读(14) 评论(0) 推荐(0)
摘要: 第一步 注册github账号 首先打开自己得github网址 https://github.com/ 用自己常用得邮箱注册一个个人得github账号 不多赘述 第二步 安装git工具 账号注册完毕之后需要安装git工具 紧接着就是下一步下一步程序得安装 注意不要安装再c盘即可 当本地出现以上图标 w 阅读全文
posted @ 2023-08-22 21:08 前端导师歌谣 阅读(39) 评论(0) 推荐(0)
摘要: <AutocompleteInput source="category" choices={choices} shouldRenderSuggestions={(val) => { return val.trim().length > 2 }} /> 什么时候呈现建议的条件 阅读全文
posted @ 2023-08-22 21:05 前端导师歌谣 阅读(13) 评论(0) 推荐(0)
摘要: const choices = [ { _id: 'tech', name: 'Tech' }, { _id: 'lifestyle', name: 'Lifestyle' }, { _id: 'people', name: 'People' }, ]; <AutocompleteInput sou 阅读全文
posted @ 2023-08-22 21:05 前端导师歌谣 阅读(10) 评论(0) 推荐(0)
摘要: <AutocompleteInput source="category" optionText="label" choices={[ { id: 'tech', label: 'Tech' }, { id: 'lifestyle', label: 'Lifestyle' }, { id: 'peop 阅读全文
posted @ 2023-08-22 21:04 前端导师歌谣 阅读(7) 评论(0) 推荐(0)