前台模版修改返回值

vehicle-yinyuyang
李永杰 2024-03-28 22:38:44 +08:00
parent 9a4f24544c
commit ff45a6ce22
1 changed files with 4 additions and 4 deletions

View File

@ -170,7 +170,7 @@
</template>
</el-table-column>
</el-table>
<pagination
v-show="total>0"
:total="total"
@ -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;
});
},