Răsfoiți Sursa

Merge branch 'bug_7373' into debug

cldu 1 lună în urmă
părinte
comite
ffd9d5c9b0
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 3 1
      src/views/chartShow/index.vue

+ 3 - 1
src/views/chartShow/index.vue

@@ -163,7 +163,9 @@ export default defineComponent({
         haveData.value = true;
         haveAuth.value = Data.IsAuth;
 
-        document.title = language.value==='zh'?Data.ChartInfo.ChartName:Data.ChartInfo.ChartNameEn;
+        //处理英文研报英文设置不全就展示中文
+        // setLangFromEnReport();
+        document.title = language.value==='zh'?Data.ChartInfo.ChartName:Data.ChartInfo.ChartNameEn||Data.ChartInfo.ChartName;
 
         if(!Data.IsAuth) return