tijiao
This commit is contained in:
@@ -34,8 +34,7 @@
|
||||
:articleUserId="articleInfo.userId"
|
||||
ref="hbComment"
|
||||
@add="sendComment"
|
||||
@del="del"
|
||||
@focusOn="focusOn"
|
||||
|
||||
:deleteTip="'确认删除?'"
|
||||
:cmData="commentData"
|
||||
v-if="commentData"
|
||||
@@ -176,12 +175,14 @@ export default {
|
||||
.then((res) => {
|
||||
console.log("res at line 713:", res);
|
||||
if (res.code == 0) {
|
||||
this.getMedicalDetail();
|
||||
if (pid == 0) {
|
||||
if(pid==0){
|
||||
setTimeout(() => {
|
||||
this.scrollToView("commentData");
|
||||
}, 500);
|
||||
}, 100);
|
||||
}
|
||||
this.getMedicalDetail();
|
||||
|
||||
|
||||
} else {
|
||||
this.$commonJS.showToast("评论失败");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user