jwyu 2 年之前
父节点
当前提交
592d7dea39
共有 1 个文件被更改,包括 8 次插入5 次删除
  1. 8 5
      pages-approve/businessTrip/add.vue

+ 8 - 5
pages-approve/businessTrip/add.vue

@@ -231,14 +231,17 @@ export default {
 
 
             const res=this.id?await apiEditApply({...params,BusinessApplyId:Number(this.id)}):await apiAddApply(params)
             const res=this.id?await apiEditApply({...params,BusinessApplyId:Number(this.id)}):await apiAddApply(params)
             if(res.code===200){
             if(res.code===200){
-                uni.showToast({
-                    title:"提交成功",
-                    icon:'success'
-                })
+                setTimeout(() => {
+                    uni.showToast({
+                        title:"提交成功",
+                        icon:'success'
+                    })
+                }, 200);
+                
                 uni.$emit('businessApproveListUpdate')
                 uni.$emit('businessApproveListUpdate')
                 setTimeout(()=>{
                 setTimeout(()=>{
 					this.handleRefuse()
 					this.handleRefuse()
-				},1500)
+				},1800)
             }
             }
             
             
         },
         },