li.shaoyi 2 rokov pred
rodič
commit
5e099c52b6

+ 1 - 2
src/packages/mobile/views/goods/detail/components/listing/Index.vue

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