htc пре 1 недеља
родитељ
комит
0d12d7c856
1 измењених фајлова са 5 додато и 3 уклоњено
  1. 5 3
      pages/dialog.vue

+ 5 - 3
pages/dialog.vue

@@ -225,9 +225,11 @@
 					share:false,
 				}
 				this.dialogList = [...this.dialogList,...[qa]];
-				uni.pageScrollTo({ scrollTop: 99999, duration: 300});
-				this.sendRequestWithRetry();
-				this.question = '';
+				this.$nextTick(()=>{
+					uni.pageScrollTo({ scrollTop: 99999, duration: 300});
+					this.sendRequestWithRetry();
+					this.question = '';
+				})
 			},
 			toCopy(item,index){
 				this.$set(this.dialogList[index],'copy',!this.dialogList[index].copy);