|
@@ -25,10 +25,7 @@ async function getChartInfo(){
|
|
|
chartIsDelete.value=true
|
|
|
return
|
|
|
}
|
|
|
- let lang='zh'
|
|
|
- if(window.location.pathname.startsWith('/ppten')){
|
|
|
- lang='en'
|
|
|
- }
|
|
|
+
|
|
|
let showChartTitle=false
|
|
|
const {Source,ChartType}=res.Data.ChartInfo
|
|
|
if((Source==1&&[2,7,10].includes(ChartType))||(Source==2&&ChartType==8)){
|
|
@@ -37,7 +34,7 @@ async function getChartInfo(){
|
|
|
chartRender({
|
|
|
data:res.Data,
|
|
|
renderId:renderId.value,
|
|
|
- lang,
|
|
|
+ lang:window.location.pathname.startsWith('/ppten')?'en':'zh',
|
|
|
changeLangIsCheck:true,
|
|
|
showChartTitle
|
|
|
})
|
|
@@ -71,6 +68,7 @@ onMounted(()=>{
|
|
|
.empty-img{
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
+ object-fit: contain;
|
|
|
}
|
|
|
}
|
|
|
}
|