Commit fd4bb34b by wusiyi

fix: 成功弹窗展示

parent bce38132
...@@ -3667,12 +3667,13 @@ const rejectOrder = async (type: string) => { ...@@ -3667,12 +3667,13 @@ const rejectOrder = async (type: string) => {
if (res.code !== 200) return if (res.code !== 200) return
resultInfo.value = res.data resultInfo.value = res.data
if (resultInfo.value.length) { resultInfo.value = resultInfo.value.filter((item) => !item.status)
resultRefs.value?.showDialog() if (!resultInfo.value.length) {
} else {
ElMessage.success('操作成功') ElMessage.success('操作成功')
search() search()
loadTabData() loadTabData()
} else {
resultRefs.value?.showDialog()
} }
} catch (e) { } catch (e) {
console.log(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