mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-23 01:36:44 +08:00
提交
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user