|
|
@@ -100,6 +100,8 @@ export default {
|
|
|
let data = { sort: 'createdAt,desc', query: {} };
|
|
|
if (this.search) {
|
|
|
data.search = this.search;
|
|
|
+ data.page = 0;
|
|
|
+ console.log();
|
|
|
}
|
|
|
console.log(this.getAdmin());
|
|
|
if (!this.getAdmin()) {
|
|
|
@@ -107,6 +109,7 @@ export default {
|
|
|
}
|
|
|
if (this.work) {
|
|
|
data.query.work = this.work;
|
|
|
+ data.page = 0;
|
|
|
}
|
|
|
return data;
|
|
|
},
|