mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 19:26:47 +00:00
refactor: formformBlock provider
This commit is contained in:
parent
087a98fb91
commit
fc198621a6
@ -25,9 +25,9 @@ const InternalFormBlockProvider = (props) => {
|
|||||||
const { resource, service } = useBlockRequestContext();
|
const { resource, service } = useBlockRequestContext();
|
||||||
const formBlockRef = useRef();
|
const formBlockRef = useRef();
|
||||||
const record = useRecord();
|
const record = useRecord();
|
||||||
// if (service.loading) {
|
if (service.loading) {
|
||||||
// return <Spin />;
|
return <Spin />;
|
||||||
// }
|
}
|
||||||
return (
|
return (
|
||||||
<FormBlockContext.Provider
|
<FormBlockContext.Provider
|
||||||
value={{
|
value={{
|
||||||
|
Loading…
Reference in New Issue
Block a user