资料编辑

This commit is contained in:
zhaofang
2022-09-22 17:25:01 +08:00
parent db6e967821
commit ebf92f4fd0
5 changed files with 242 additions and 121 deletions

View File

@@ -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);