From 5dfef883049e7f0670f6c6b1b225b233aee41eea Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Thu, 03 Mar 2022 01:30:11 +0800
Subject: [PATCH] 评论页刷新策略调整

---
 src/components/mini/box13-reply.vue |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/components/mini/box13-reply.vue b/src/components/mini/box13-reply.vue
index cf40807..674aa81 100644
--- a/src/components/mini/box13-reply.vue
+++ b/src/components/mini/box13-reply.vue
@@ -59,7 +59,6 @@
 	} from '../../api/blogArticleComment.js'
 
 	export default {
-		props: ["articleId"],
 		methods: {
 			getMsgInfo(param) {
 				this.msgInfo = param;
@@ -67,7 +66,7 @@
 				this.replyHolder = "@" + this.msgInfo.useName;
 			},
 			send() {
-				console.log(this.msgInfo);
+				console.log(11);
 				if (this.form.nickName === "") {
 					this.$message.info("怎么称呼..")
 					return
@@ -88,9 +87,7 @@
 						res = false;
 					}
 				});
-				var articleId=this.$attrs.acticleId;
-				console.log(articleId);
-
+				var articleId=this.$attrs.articleId;
 				let commentType = (articleId == null || articleId == undefined) ? 1 : 2;
 				this.isSending = true;
 
@@ -110,7 +107,8 @@
 				}).then((res) => {
 					this.isSending = false;
 					if (res.code == 200) {
-						this.$message.info("已送达,审核通过后显示..")
+						this.$emit("sendMsg");
+						this.$message.info("信息已送达..")
 					} else {
 						this.$notification.error({
 							message: '好像哪里不对劲..',

--
Gitblit v1.9.1