前台模版修改返回值
parent
9a4f24544c
commit
ff45a6ce22
|
@ -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;
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue