|
@@ -183,8 +183,7 @@ const onSubmit = () => {
|
|
|
|
|
|
|
|
fullloading((hideLoading) => {
|
|
fullloading((hideLoading) => {
|
|
|
formSubmit().then(() => {
|
|
formSubmit().then(() => {
|
|
|
- hideLoading()
|
|
|
|
|
- dialog('提交成功。').then(() => closed(true))
|
|
|
|
|
|
|
+ hideLoading('提交成功。', 'success')
|
|
|
}).catch((err) => {
|
|
}).catch((err) => {
|
|
|
hideLoading(err, 'fail')
|
|
hideLoading(err, 'fail')
|
|
|
})
|
|
})
|