Authored by 沈志敏

fix bug

... ... @@ -131,6 +131,11 @@
this.brandData.splice(index, 1);
this.hideDelBth();
delete this.keys[id];
if (this.brandData.length === 0) {
this.nullbox = '';
this.updateNavBar();
}
} else if (data.code === 400) {
tip(data.message);
} else {
... ...
... ... @@ -147,6 +147,11 @@
this.productData.splice(index, 1);
this.hideDelBth();
delete this.keys[id];
if (this.productData.length === 0) {
this.nullbox = '';
this.updateNavBar();
}
} else if (data.code === 400) {
tip(data.message);
} else {
... ...