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:
@@ -146,6 +146,7 @@
|
||||
apiGuestbook.answer(this.replysData).then(res=>{
|
||||
if(res.status == 200) {
|
||||
this.$message.success('留言发布成功');
|
||||
// this.leavingList.push()
|
||||
this.leavingList.forEach(item=>{
|
||||
item.isReplys = false;
|
||||
})
|
||||
@@ -178,7 +179,8 @@
|
||||
apiGuestbook.save(data).then(res=>{
|
||||
if(res.status == 200) {
|
||||
this.textarea = '';
|
||||
this.leavingList.push(res.result);
|
||||
// this.leavingList.push(res.result);
|
||||
this.getList();
|
||||
this.$message.success('留言发布成功');
|
||||
} else {
|
||||
this.$message.error(res.message);
|
||||
|
||||
Reference in New Issue
Block a user