list Test result

This commit is contained in:
saeid
2019-04-29 13:20:56 +04:30
parent c6f352c711
commit 7bda94601c
7 changed files with 317 additions and 119 deletions
Vendored
+7 -4
View File
@@ -148,11 +148,14 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
case 3:
result = _context.sent;
this.items = result.data.data.data;
this.currentPage = result.data.data.current_page;
this.lastPage = result.data.data.last_page;
case 7:
if (result && result.status == 200) {
this.items = result.data.data.data;
this.currentPage = result.data.data.current_page;
this.lastPage = result.data.data.last_page;
}
case 5:
case "end":
return _context.stop();
}