酸雨上传

This commit is contained in:
weicw
2021-11-10 07:09:17 +08:00
parent eda3eb3de1
commit ee3fc7c4ae
4 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -37,7 +37,7 @@ export default {
},
async toObjData(excelData,monitorYear) {
const res = await axios.get(listAllUrl,{params:{year:monitorYear}})
if(res.data.code !=0){
if(res.data.code !=0 && res.data.data.length === 0){
return Promise.reject(monitorYear +"点位字典未设置");
}
const dict = res.data.data;