修复生成前台代码查询列表时,查询到结果却不显示

master
面包骑士 2024-08-23 10:28:42 +08:00
parent ba25878e1c
commit ddcc757b9c
1 changed files with 2 additions and 2 deletions

View File

@ -448,8 +448,8 @@ export default {
#end #end
#end #end
list${BusinessName}(this.queryParams).then(response => { list${BusinessName}(this.queryParams).then(response => {
this.${businessName}List = response.rows; this.${businessName}List = response.data.rows;
this.total = response.total; this.total = response.data.total;
this.loading = false; this.loading = false;
}); });
}, },