|
@@ -152,11 +152,11 @@ const delMessageHandle = ({ comment_id }) => {
|
|
|
|
|
|
Toast('删除成功')
|
|
|
|
|
|
- removeMessageByView();
|
|
|
+ removeMessageByView(comment_id);
|
|
|
});
|
|
|
|
|
|
/* 删除页面上的留言 */
|
|
|
- const removeMessageByView = () => {
|
|
|
+ const removeMessageByView = (comment_id) => {
|
|
|
let index_my = myMessageList.value.findIndex(_ => _.comment_id === comment_id);
|
|
|
let index_hot = hotMessageList.value.findIndex(_ => _.comment_id === comment_id);
|
|
|
|