失效商品导致页面不展示
parent
4780ae5b18
commit
f0628c5995
|
@ -112,7 +112,9 @@ export default {
|
||||||
tracksList(this.params).then((res) => {
|
tracksList(this.params).then((res) => {
|
||||||
this.spinShow = false;
|
this.spinShow = false;
|
||||||
if (res.success && res.result.records.length) {
|
if (res.success && res.result.records.length) {
|
||||||
this.list = res.result.records;
|
this.list = res.result.records.filter(item =>{
|
||||||
|
return item != null
|
||||||
|
});
|
||||||
this.total = res.result.total
|
this.total = res.result.total
|
||||||
} else {
|
} else {
|
||||||
this.list = [];
|
this.list = [];
|
||||||
|
|
Loading…
Reference in New Issue