"erp_web/js/git@ustchcs.com:gujinli1118/JSH_ERP.git" did not exist on "62772b0413bee2c952e21cf896dbc4c428dd1501"
Commit 7ae28966 authored by Junling Bu's avatar Junling Bu
Browse files

chore[litemall-admin, litemall-admin-api]: 调整管理后台的数组对象使用场景

parent d60e90b0
...@@ -70,7 +70,7 @@ export default { ...@@ -70,7 +70,7 @@ export default {
getList() { getList() {
this.listLoading = true this.listLoading = true
listAddress(this.listQuery).then(response => { listAddress(this.listQuery).then(response => {
this.list = response.data.data.items this.list = response.data.data.list
this.total = response.data.data.total this.total = response.data.data.total
this.listLoading = false this.listLoading = false
}).catch(() => { }).catch(() => {
......
...@@ -56,7 +56,7 @@ export default { ...@@ -56,7 +56,7 @@ export default {
getList() { getList() {
this.listLoading = true this.listLoading = true
listCollect(this.listQuery).then(response => { listCollect(this.listQuery).then(response => {
this.list = response.data.data.items this.list = response.data.data.list
this.total = response.data.data.total this.total = response.data.data.total
this.listLoading = false this.listLoading = false
}).catch(() => { }).catch(() => {
......
...@@ -46,7 +46,7 @@ export default { ...@@ -46,7 +46,7 @@ export default {
components: { Pagination }, components: { Pagination },
data() { data() {
return { return {
list: undefined, list: [],
total: 0, total: 0,
listLoading: true, listLoading: true,
listQuery: { listQuery: {
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
getList() { getList() {
this.listLoading = true this.listLoading = true
listFeedback(this.listQuery).then(response => { listFeedback(this.listQuery).then(response => {
this.list = response.data.data.items this.list = response.data.data.list
this.total = response.data.data.total this.total = response.data.data.total
this.listLoading = false this.listLoading = false
}).catch(() => { }).catch(() => {
......
...@@ -57,7 +57,7 @@ export default { ...@@ -57,7 +57,7 @@ export default {
this.listLoading = true this.listLoading = true
listFootprint(this.listQuery) listFootprint(this.listQuery)
.then(response => { .then(response => {
this.list = response.data.data.items this.list = response.data.data.list
this.total = response.data.data.total this.total = response.data.data.total
this.listLoading = false this.listLoading = false
}) })
......
...@@ -56,7 +56,7 @@ export default { ...@@ -56,7 +56,7 @@ export default {
this.listLoading = true this.listLoading = true
listHistory(this.listQuery) listHistory(this.listQuery)
.then(response => { .then(response => {
this.list = response.data.data.items this.list = response.data.data.list
this.total = response.data.data.total this.total = response.data.data.total
this.listLoading = false this.listLoading = false
}) })
......
...@@ -77,7 +77,7 @@ export default { ...@@ -77,7 +77,7 @@ export default {
getList() { getList() {
this.listLoading = true this.listLoading = true
fetchList(this.listQuery).then(response => { fetchList(this.listQuery).then(response => {
this.list = response.data.data.items this.list = response.data.data.list
this.total = response.data.data.total this.total = response.data.data.total
this.listLoading = false this.listLoading = false
}).catch(() => { }).catch(() => {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment