Authored by 沈志敏

fix bug

... ... @@ -203,6 +203,10 @@
},
created() {
yoho.addNativeMethod('editModel', () => {
if (!this.brandData.length) {
return false;
}
this.hideDelBth();
this.editmodel = !this.editmodel;
... ...
... ... @@ -221,6 +221,10 @@
},
created() {
yoho.addNativeMethod('editModel', () => {
if (!this.productData.length) {
return false;
}
this.hideDelBth();
this.editmodel = !this.editmodel;
... ...
... ... @@ -101,12 +101,10 @@
type: this.type
}
}).then(result => {
if (result.code === 200) {
if (result.data && result.data.orderList.length > 0) {
this.$set('orderList', this.orderList.concat(result.data.orderList));
this.pageTotal = result.data.pageTotal;
this.busy = false;
}
if (result.data && result.data.orderList.length > 0) {
this.$set('orderList', this.orderList.concat(result.data.orderList));
this.pageTotal = result.data.pageTotal;
this.busy = false;
}
if (this.orderList.length === 0) {
... ...
... ... @@ -80,12 +80,10 @@
limit: this.limit
}
}).then(result => {
if (result.code === 200) {
if (result.data && result.data.list.length > 0) {
this.$set('orderList', this.orderList.concat(result.data.list));
this.pageTotal = result.data.totalPage;
this.busy = false;
}
if (result.data && result.data.list.length > 0) {
this.$set('orderList', this.orderList.concat(result.data.list));
this.pageTotal = result.data.totalPage;
this.busy = false;
}
if (this.orderList.length === 0) {
... ...