Commit fd4bb34b by wusiyi

fix: 成功弹窗展示

parent bce38132
......@@ -3667,12 +3667,13 @@ const rejectOrder = async (type: string) => {
if (res.code !== 200) return
resultInfo.value = res.data
if (resultInfo.value.length) {
resultRefs.value?.showDialog()
} else {
resultInfo.value = resultInfo.value.filter((item) => !item.status)
if (!resultInfo.value.length) {
ElMessage.success('操作成功')
search()
loadTabData()
} else {
resultRefs.value?.showDialog()
}
} catch (e) {
console.log(e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment