前台模版修改返回值
parent
9a4f24544c
commit
ff45a6ce22
|
@ -447,9 +447,9 @@ export default {
|
|||
}
|
||||
#end
|
||||
#end
|
||||
list${BusinessName}(this.queryParams).then(response => {
|
||||
this.${businessName}List = response.rows;
|
||||
this.total = response.total;
|
||||
list${BusinessName}(this.queryParams).then(res => {
|
||||
this.${businessName}List = res.data.rows;
|
||||
this.total = res.data.total;
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue