历史记录修改

This commit is contained in:
zyx.net
2023-03-28 17:45:55 +08:00
parent 30e9a641d8
commit 800b75a582
2 changed files with 4 additions and 4 deletions
@@ -51,9 +51,9 @@
otaId:localStorage.getItem('otaId') otaId:localStorage.getItem('otaId')
} }
this.loading = true this.loading = true
getAction('ota/otaBaSjLsjl/list', query).then((res) => { getAction('ota/otaBaSjLsjl/page', query).then((res) => {
if (res.success) { if (res.success) {
this.dataSource = res.result || [] this.dataSource = res.result.records || []
this.loading = false this.loading = false
} else { } else {
this.loading = false this.loading = false
@@ -51,9 +51,9 @@
otaId:localStorage.getItem('otaId') otaId:localStorage.getItem('otaId')
} }
this.loading = true this.loading = true
getAction('ota/otaBaCxLsjl/list', query).then((res) => { getAction('ota/otaBaCxLsjl/page', query).then((res) => {
if (res.success) { if (res.success) {
this.dataSource = res.result || [] this.dataSource = res.result.records || []
this.loading = false this.loading = false
} else { } else {
this.loading = false this.loading = false