0
点赞
收藏
分享

微信扫一扫

前端项目实战叁佰玖拾伍react-admin和material ui-Edit取消默认行为


<SaveButton sx={{ height: "36px", mt: '9px', mj: 2 }}
          type='button' mutationOptions={{
            onSuccess: () => {
              redirect(false)
              // if(expand){
              //   toggleExpanded()
              // }
            }
          }}
        >
        </SaveButton>

 redirect(false)

举报

相关推荐

0 条评论