mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-12 03:54:16 +00:00
disable visibilities on submit
This commit is contained in:
parent
76a038e395
commit
445f6552bc
@ -39,7 +39,9 @@ export default (props) => {
|
|||||||
|
|
||||||
const submit = () => {
|
const submit = () => {
|
||||||
setLoading(true)
|
setLoading(true)
|
||||||
|
setUploaderVisible(false)
|
||||||
|
setFocused(false)
|
||||||
|
|
||||||
const response = api.put.post({ ...postData }).catch(error => {
|
const response = api.put.post({ ...postData }).catch(error => {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
antd.message.error(error)
|
antd.message.error(error)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user