diff --git a/src/pages/sparePartsApplication/index.vue b/src/pages/sparePartsApplication/index.vue index 46e9ad2..df40930 100644 --- a/src/pages/sparePartsApplication/index.vue +++ b/src/pages/sparePartsApplication/index.vue @@ -103,7 +103,15 @@ list.value = [] status.value = 'loadmore' await getList() - proxy.$modal.showToast('撤回成功') + if(res.data){ + proxy.$modal.showToast('撤回成功') + }else{ + if (res.msg) { + proxy.$modal.showToast(res.msg) + } else { + proxy.$modal.showToast('撤回失败') + } + } }).catch(()=>{}) }) }