|
@@ -127,7 +127,7 @@ export default {
|
|
|
.then(function (response) {
|
|
|
self.loading = false;
|
|
|
|
|
|
- var jsonData = response.data;
|
|
|
+ var jsonData = response.data.data;
|
|
|
|
|
|
self.tableData = jsonData.data;
|
|
|
self.totalPages = jsonData.totalPages;
|
|
@@ -135,7 +135,7 @@ export default {
|
|
|
//45为分页栏的高度
|
|
|
//页面高度-列表上面的高度-分页栏高度
|
|
|
self.tableHeight =
|
|
|
- window.innerHeight - self.$refs.formTable.$el.offsetTop - 100;
|
|
|
+ window.innerHeight - self.$refs.formTable.$el.offsetTop - 50;
|
|
|
})
|
|
|
.catch((error) => {
|
|
|
self.loading = false;
|