Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
7ae28966
Commit
7ae28966
authored
May 06, 2019
by
Junling Bu
Browse files
chore[litemall-admin, litemall-admin-api]: 调整管理后台的数组对象使用场景
parent
d60e90b0
Changes
46
Hide whitespace changes
Inline
Side-by-side
litemall-admin/src/views/user/address.vue
View file @
7ae28966
...
...
@@ -70,7 +70,7 @@ export default {
getList
()
{
this
.
listLoading
=
true
listAddress
(
this
.
listQuery
).
then
(
response
=>
{
this
.
list
=
response
.
data
.
data
.
items
this
.
list
=
response
.
data
.
data
.
list
this
.
total
=
response
.
data
.
data
.
total
this
.
listLoading
=
false
}).
catch
(()
=>
{
...
...
litemall-admin/src/views/user/collect.vue
View file @
7ae28966
...
...
@@ -56,7 +56,7 @@ export default {
getList
()
{
this
.
listLoading
=
true
listCollect
(
this
.
listQuery
).
then
(
response
=>
{
this
.
list
=
response
.
data
.
data
.
items
this
.
list
=
response
.
data
.
data
.
list
this
.
total
=
response
.
data
.
data
.
total
this
.
listLoading
=
false
}).
catch
(()
=>
{
...
...
litemall-admin/src/views/user/feedback.vue
View file @
7ae28966
...
...
@@ -46,7 +46,7 @@ export default {
components
:
{
Pagination
},
data
()
{
return
{
list
:
undefined
,
list
:
[]
,
total
:
0
,
listLoading
:
true
,
listQuery
:
{
...
...
@@ -66,7 +66,7 @@ export default {
getList
()
{
this
.
listLoading
=
true
listFeedback
(
this
.
listQuery
).
then
(
response
=>
{
this
.
list
=
response
.
data
.
data
.
items
this
.
list
=
response
.
data
.
data
.
list
this
.
total
=
response
.
data
.
data
.
total
this
.
listLoading
=
false
}).
catch
(()
=>
{
...
...
litemall-admin/src/views/user/footprint.vue
View file @
7ae28966
...
...
@@ -57,7 +57,7 @@ export default {
this
.
listLoading
=
true
listFootprint
(
this
.
listQuery
)
.
then
(
response
=>
{
this
.
list
=
response
.
data
.
data
.
items
this
.
list
=
response
.
data
.
data
.
list
this
.
total
=
response
.
data
.
data
.
total
this
.
listLoading
=
false
})
...
...
litemall-admin/src/views/user/history.vue
View file @
7ae28966
...
...
@@ -56,7 +56,7 @@ export default {
this
.
listLoading
=
true
listHistory
(
this
.
listQuery
)
.
then
(
response
=>
{
this
.
list
=
response
.
data
.
data
.
items
this
.
list
=
response
.
data
.
data
.
list
this
.
total
=
response
.
data
.
data
.
total
this
.
listLoading
=
false
})
...
...
litemall-admin/src/views/user/user.vue
View file @
7ae28966
...
...
@@ -77,7 +77,7 @@ export default {
getList
()
{
this
.
listLoading
=
true
fetchList
(
this
.
listQuery
).
then
(
response
=>
{
this
.
list
=
response
.
data
.
data
.
items
this
.
list
=
response
.
data
.
data
.
list
this
.
total
=
response
.
data
.
data
.
total
this
.
listLoading
=
false
}).
catch
(()
=>
{
...
...
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment