摘要:
const { createProxyMiddleware } = require('http-proxy-middleware'); module.exports = (app) => { app.use( createProxyMiddleware('/postgrest', { target: 阅读全文
posted @ 2023-10-07 09:24
前端导师歌谣
阅读(12)
评论(0)
推荐(0)
摘要:
useEffect(() => { if(type 'edit'){ setFlag(true) setData({id:id}) } }, [type]); 阅读全文
posted @ 2023-10-07 09:23
前端导师歌谣
阅读(13)
评论(0)
推荐(0)
摘要:
<TextInput disabled={flag} variant='outlined' source="description" label="描述" /> 运行结果 阅读全文
posted @ 2023-10-07 09:23
前端导师歌谣
阅读(24)
评论(0)
推荐(0)
摘要:
<Grid item xs={2} sm={2} md={2} > <ReferenceInput variant='outlined' source="order_id" reference="t_lps_order" > <AutocompleteInput filterToQuery={(or 阅读全文
posted @ 2023-10-07 09:22
前端导师歌谣
阅读(16)
评论(0)
推荐(0)
摘要:
{type "add" && ( <Create resource='t_lps_product_order' mutationOptions={{ onSuccess }} > </SimpleForm> </Create> )} {type "edit" && ( <Edit mutationO 阅读全文
posted @ 2023-10-07 09:22
前端导师歌谣
阅读(11)
评论(0)
推荐(0)
摘要:
useEffect(() => { const handleAppViewHeight = (e: any) => { if (typeof e.data 'object') { if (e.data.appHeight !== undefined) { setAppViewHeight(e.dat 阅读全文
posted @ 2023-10-07 09:21
前端导师歌谣
阅读(10)
评论(0)
推荐(0)
摘要:
<List filters={postFilters} empty={<Empty />} disableAuthentication={false} actions={<CreateListActions productId={productId} solutionname={solutionna 阅读全文
posted @ 2023-10-07 09:21
前端导师歌谣
阅读(18)
评论(0)
推荐(0)
摘要:
<ReferenceInput variant='outlined' source="order_id" reference="t_lps_order" > <AutocompleteInput filterToQuery ={(order_code) => { return { order_cod 阅读全文
posted @ 2023-10-07 09:20
前端导师歌谣
阅读(11)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2023-10-07 09:20
前端导师歌谣
阅读(9)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2023-10-07 09:20
前端导师歌谣
阅读(7)
评论(0)
推荐(0)