|
@@ -241,20 +241,20 @@
|
|
|
that.$set(that, `shang`, '0');
|
|
|
that.$set(that, `xia`, '-1');
|
|
|
}
|
|
|
- let key = '';
|
|
|
let value;
|
|
|
if (index != 0) {
|
|
|
value = that.shang == '0' ? that.xia : that.shang;
|
|
|
}
|
|
|
if (index == 1) {
|
|
|
- key = 'sell_num';
|
|
|
+ that.$set(that, `searchInfo`, {})
|
|
|
+ that.$set(that.searchInfo, `sell_num`, value);
|
|
|
} else if (index == 2) {
|
|
|
- key = 'sell_money';
|
|
|
+ that.$set(that, `searchInfo`, {})
|
|
|
+ that.$set(that.searchInfo, `sell_money`, value);
|
|
|
} else if (index == 3) {
|
|
|
- key = 'view_num';
|
|
|
+ that.$set(that, `searchInfo`, {})
|
|
|
+ that.$set(that.searchInfo, `view_num`, value);
|
|
|
}
|
|
|
- that.$set(that.searchInfo, `key`, key);
|
|
|
- that.$set(that.searchInfo, `value`, value);
|
|
|
that.clearPage();
|
|
|
that.search();
|
|
|
},
|