@@ -1129,7 +1129,7 @@ export default {
foreigntype: "风电",
})
.then((res) => {
- if (res.code == 200) this.calculate(res.data);
+ if (res.code == 200 && res.data.length > 0) this.calculate(res.data);
});
// let that = this;