接口问题修改

This commit is contained in:
chc
2023-01-31 17:42:36 +08:00
parent c130597e95
commit a97ed0c3f6
7 changed files with 98 additions and 59 deletions

View File

@@ -514,7 +514,8 @@ export default {
? (this.loadRecord.status = 1)
: (this.loadRecord.status = 2);
this.$nextTick(() => {
if (data.record_id == 0 || !data.record_id) {
// if (data.record_id == 0 || !data.record_id) {
if (data.record_id == 0 || data.pageNumber == 1) {
el.scrollTop = el.scrollHeight
} else {
el.scrollTop = el.scrollHeight - scrollHeight