Commit 84faa5f0 by lixiaomin

修改机器bug

parent c84c2946
......@@ -105,8 +105,8 @@ export default {
this.loading = true;
getMachineList(this.queryParams).then((response) => {
if(response.code==0){
this.machineList = response.data;
this.total = response.data.length;
this.machineList = response.data.list;
this.total = response.data.total;
this.loading = false;
}
});
......
......@@ -170,7 +170,7 @@ export default {
this.loading = true;
getModelComponentList(this.modelId).then((response) => {
if(response.code==0){
this.modelComponentList = response.data;
this.modelComponentList = response.data.list;
this.loading = false;
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment