diff --git a/components/AnswerList/messageBoard.vue b/components/AnswerList/messageBoard.vue index 3869214..e286c37 100644 --- a/components/AnswerList/messageBoard.vue +++ b/components/AnswerList/messageBoard.vue @@ -2,16 +2,19 @@ - + - @@ -91,6 +97,17 @@ export default { // 根据索引设置activeTab值 this.activeTab = index === 0 ? "unread" : "replied"; }, + handleDelete(item, callback) { + console.log("handleDelete", item); + + setTimeout(() => { + this.$refs.uToast.show({ + title: "撤回成功", + type: "success", + }); + callback(true); + }, 1500); + }, }, };