|
@@ -245,6 +245,12 @@ export default {
|
|
if (res.data.success === "yes") {
|
|
if (res.data.success === "yes") {
|
|
callback(res.data.comment);
|
|
callback(res.data.comment);
|
|
this.loadCommentData(); // 重新加载评论列表
|
|
this.loadCommentData(); // 重新加载评论列表
|
|
|
|
+ }else{
|
|
|
|
+ uni.showToast({
|
|
|
|
+ title: res.data.str,
|
|
|
|
+ icon: 'none'
|
|
|
|
+ });
|
|
|
|
+ this.loadCommentData();
|
|
}
|
|
}
|
|
},
|
|
},
|
|
fail: (e) => {
|
|
fail: (e) => {
|