|
@@ -43,10 +43,8 @@ export default {
|
|
|
...dock(['query']),
|
|
|
async search() {
|
|
|
let res = await this.query({ status: '1' });
|
|
|
- let arr = await this.query({ status: '2' });
|
|
|
- var newData = res.data.concat(arr.data);
|
|
|
- if (this.$checkRes(newData)) {
|
|
|
- this.$set(this, `list`, newData);
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
+ this.$set(this, `list`, res.data);
|
|
|
}
|
|
|
},
|
|
|
searchLive() {
|