ソースを参照

增加资源数据脚本key

xusl 1 週間 前
コミット
0838ccb86f

+ 2 - 1
ipfcst/ipfcst/ipfcst-reportquery/src/main/frontend/i18n/langs/en.js

@@ -5,6 +5,7 @@ import nwp from './en/nwp'
 import contrastRealTimeQuery from './en/contrastRealTimeQuery'
 import weather from './en/weather'
 import comprehensiveQuery from './en/comprehensiveQuery'
+import resourceData from './en/resourceData'
 
 const defaultConst = {
   // 搜索框
@@ -82,5 +83,5 @@ const defaultConst = {
   '显示设置':'Display Setting',
 }
 const realTimeQuery = {...windTower,...nwp,...contrastRealTimeQuery,...weather,...comprehensiveQuery}
-const en = {...defaultConst, ...dashboard,...realTimeQuery}
+const en = {...defaultConst, ...dashboard,...realTimeQuery,...resourceData}
 export default en;

+ 0 - 0
ipfcst/ipfcst/ipfcst-reportquery/src/main/frontend/i18n/langs/en/resourceData.js


+ 2 - 1
ipfcst/ipfcst/ipfcst-reportquery/src/main/frontend/i18n/langs/zh.js

@@ -4,6 +4,7 @@ import windTower from'./zh/windTower'
 import nwp from'./zh/nwp'
 import contrastRealTimeQuery from'./zh/contrastRealTimeQuery'
 import weather from'./zh/weather'
+import resourceData from'./zh/resourceData'
 const defaultConst ={
 // 搜索框
   '间隔时间': '间隔时间',
@@ -82,5 +83,5 @@ const defaultConst ={
   // el: { pagination: { pagesize: '条/页' } }
 }
 const realTimeQuery = {...windTower,...nwp,...contrastRealTimeQuery,...weather}
-const zh = {...defaultConst,...dashboard,...realTimeQuery}
+const zh = {...defaultConst,...dashboard,...realTimeQuery,...resourceData}
 export default zh;

+ 0 - 0
ipfcst/ipfcst/ipfcst-reportquery/src/main/frontend/i18n/langs/zh/resourceData.js