This commit is contained in:
zhaofang
2022-10-28 10:44:17 +08:00
parent aef9017991
commit 540b1d8d7a
17 changed files with 86 additions and 82 deletions

View File

@@ -141,6 +141,9 @@
this.replysData.reply = item.replysList;
},
addReplys() {
if(this.replysContent.trim().length == 0) {
return this.$message.warning('请填写内容!');
}
this.replysData.reply.push({
content: this.replysContent,
authorInfo:this.userInfo,
@@ -176,6 +179,9 @@
})
},
add() {
if(this.textarea.trim().length == 0) {
return this.$message.warning('请填写内容!');
}
let data = {
content:this.textarea,//留言内容
aid:this.pageId,// 要留言的人的id