@@ -210,17 +210,23 @@
this.$http.post('/app/comments/reply',data).then(res =>{
console.log(res)
if(res.data.code == 200){
- item.reply = ''
+ // item.reply = ''
uni.showToast({
icon:'none',
title:'回复成功'
})
- this.appraiseList = []
- let page = {
- num: 1,
- size: 10
- }
- this.getcommentList(page)
+ this.$router.go(0)
+ // this.appraiseList = []
+ // let page = {
+ // num: 1,
+ // size: 10
+ // }
+ // this.getcommentList(page)
+ }else{
+ uni.showToast({
+ icon:'none',
+ title:res.message
+ })
}