[update] 修改bug80043
This commit is contained in:
@@ -293,6 +293,10 @@ export default {
|
|||||||
},
|
},
|
||||||
// 删除回答
|
// 删除回答
|
||||||
deleteAnswer (answerId) {
|
deleteAnswer (answerId) {
|
||||||
|
this.$confirm({
|
||||||
|
title: this.$t('confirmDeletion'),
|
||||||
|
content: this.$t('areYouSure'),
|
||||||
|
onOk: () => {
|
||||||
deleteAnswer({ id: answerId }).then(res => {
|
deleteAnswer({ id: answerId }).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
@@ -302,6 +306,8 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user