|
@@ -106,7 +106,7 @@ export default {
|
|
...admin({ adminPass: 'pass' }),
|
|
...admin({ adminPass: 'pass' }),
|
|
...mapActions(['query', 'delete', 'fetch', 'update', 'create']),
|
|
...mapActions(['query', 'delete', 'fetch', 'update', 'create']),
|
|
async search({ skip = 0, limit = this.$limit, ...info } = {}) {
|
|
async search({ skip = 0, limit = this.$limit, ...info } = {}) {
|
|
- let condition = _.cloneDeep(this.searchForm);
|
|
|
|
|
|
+ let condition = _.cloneDeep(this.searchInfo);
|
|
let res = await this.query({ skip, limit, ...condition, ...info });
|
|
let res = await this.query({ skip, limit, ...condition, ...info });
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|
|
this.$set(this, 'list', res.data);
|
|
this.$set(this, 'list', res.data);
|