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