File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -169,9 +169,9 @@ export default {
169
169
that .page = urlPage;
170
170
}
171
171
this .$api .get (" Blog/?page=" + that .page , { test: 33 }, r => {
172
- this .list = r .data ;
173
- this .page = r .page ;
174
- this .TotalCount = r .pageCount ;
172
+ this .list = r .response . data ;
173
+ this .page = r .response . page ;
174
+ this .TotalCount = r .response . pageCount ;
175
175
this .isShow = false ;
176
176
this .pictLoading = false ;
177
177
});
Original file line number Diff line number Diff line change @@ -101,9 +101,9 @@ export default {
101
101
that .page = urlPage;
102
102
}
103
103
this .$api .get (" Blog/?page=" + that .page , null , r => {
104
- this .list = r .data ;
105
- this .page = r .page ;
106
- this .TotalCount = r .pageCount ;
104
+ this .list = r .response . data ;
105
+ this .page = r .response . page ;
106
+ this .TotalCount = r .response . pageCount ;
107
107
this .isShow = false ;
108
108
});
109
109
}
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ export default {
94
94
methods: {
95
95
getData () {
96
96
this .$api .get (" Blog/" + this .id , null , r => {
97
- this .dat = r .data ;
97
+ this .dat = r .response . data ;
98
98
this .isShow = false ;
99
99
});
100
100
}
You can’t perform that action at this time.
0 commit comments