Commit df037751 by 张权

style:优化代码

1 parent 6c990531
......@@ -293,7 +293,7 @@ export default {
giftApi.createOrupdataGift(params).then(res => {
this.hideLoading()
if(res.approveFlag ===2){
wxConfig.thirdPartyOpenPage(wxConfig.thirdPartyOpenPage(setApproveParam(res)))
wxConfig.thirdPartyOpenPage(setApproveParam(res))
.then((resp) => {
console.log(resp,'已发起审批')
setTimeout(()=>{
......
......@@ -180,7 +180,7 @@ export default {
toAppprove({id}){
giftApi.toApproveById({id}).then(res => {
if(res.approveFlag ===2){
wxConfig.thirdPartyOpenPage(wxConfig.thirdPartyOpenPage(setApproveParam(res)))
wxConfig.thirdPartyOpenPage(setApproveParam(res))
.then((resp) => {
console.log(resp,'已发起审批')
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!