@@ -296,7 +296,7 @@ export default defineComponent({
state.barLimit.x_max=Number(data.DataResp.XMaxValue)
//校验英文名称是否完整
- if(route.query.fromPage === 'en') {
+ if(route.query.fromPage === 'en' && language.value==='en') {
const { XNameEn,XUnitNameEn,YNameEn,YUnitNameEn,DataList } = data.DataResp;
let isAllEn = true;
if(!XNameEn || !XUnitNameEn || !YNameEn || !YUnitNameEn) isAllEn = false;