|
@@ -118,8 +118,8 @@ var orderList = new Vue({
|
|
|
const _self = this;
|
|
|
SupplierApi.shopOrderList(_self.listQuery,function (response) {
|
|
|
if(response.code===0){
|
|
|
- var data = response.data
|
|
|
- if(data.list.length > 0){
|
|
|
+ const data = response.data;
|
|
|
+ if(data.list.length > 0){
|
|
|
_self.results = data.list;
|
|
|
_self.total = data.total;
|
|
|
}else{
|