仓库-bug修改

This commit is contained in:
2023-11-14 16:02:16 +08:00
parent 26100af90a
commit de06dfddf4
6 changed files with 10 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2022-08-24 11:19:43
* @LastEditors: zwq
* @LastEditTime: 2023-11-03 16:06:21
* @LastEditTime: 2023-11-14 15:59:53
* @Description:
*/
export default {
@@ -38,8 +38,10 @@ export default {
getDataList() {
this.dataListLoading = true;
this.urlOptions.getDataListURL(this.listQuery).then(response => {
this.tableData = response.data.list;
this.listQuery.total = response.data.total;
if(response.hasOwnProperty('data')){
this.tableData = response.data.list;
this.listQuery.total = response.data.total;
}
this.dataListLoading = false;
});
},