评论更新

This commit is contained in:
jia 2023-10-07 09:37:28 +08:00
parent 9e3fe4896c
commit 39a7183def

View File

@ -190,6 +190,9 @@
uni.hideKeyboard();
}else{
that.getUserInfo();
}
},
/**
@ -227,7 +230,8 @@
let reply_id = that.reply_id ? that.reply_id : 0
replyCreateApi(that.id,{content: that.content,reply_id: reply_id}).then(res => {
// console.log(res.message)
if(res.status == 1){
// console.log(res)
if(res.status == 200){
if(that.isChild){
if(that.list[that.index]['children']){
that.list[that.index]['children'].push(res.data)
@ -472,7 +476,7 @@
.send{
font-size: 26rpx;
color: #ffffff;
padding: 12rpx 30rpx;
padding: 15rpx 30rpx;
background: #E93323;
border-radius: 30rpx;
text-align: center;