Commit 183991af authored by yating.lin's avatar yating.lin

热应激等级List 追加Sort后显示

parent 4d785599
......@@ -186,7 +186,6 @@ export class EnvCfgPage implements OnInit {
this.api.config.getByFieldRegionNo([{fieldRegionNo: this.curFieldRegionNo}, (data) => {
if (data) {
data.environmentConfigJson = JSON.parse(data.environmentConfigJson.toString());
debugger;
data.heatStressList.sort( (a, b) => {
return a['thi'] > b['thi'] ? 1 : a['thi'] === b['thi'] ? 0 : -1;
});
......
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