update:
1. add order time 2. query by create time desc
This commit is contained in:
@@ -122,7 +122,9 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
form: {},
|
||||
query: {},
|
||||
query: {
|
||||
descs: 'create_time'
|
||||
},
|
||||
search: {},
|
||||
loading: true,
|
||||
data: [],
|
||||
@@ -288,9 +290,6 @@ export default {
|
||||
},
|
||||
onLoad(page, params = {}) {
|
||||
this.loading = true;
|
||||
// const {} = this.query;
|
||||
//
|
||||
// let values = {};
|
||||
getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
|
||||
const data = res.data.data;
|
||||
this.page.total = data.total;
|
||||
|
||||
Reference in New Issue
Block a user