fix: 修复指标显示错位
This commit is contained in:
@@ -280,8 +280,8 @@ function StockDetail() {
|
||||
content: '${balanceSheet.currentAssets}',
|
||||
},
|
||||
{
|
||||
label: financePropertyLabel(id, '非流动资产占比', 'PERCENTAGE', 'fixedAssetsToTotalAssetsRatio'),
|
||||
content: '${balanceSheet.fixedAssetsRatio}',
|
||||
label: financePropertyLabel(id, '流动资产占比', 'PERCENTAGE', 'currentAssetsToTotalAssetsRatio'),
|
||||
content: '${balanceSheet.currentAssetsRatio}',
|
||||
},
|
||||
{
|
||||
label: financePropertyLabel(id, '流动负债', 'FINANCE', 'currentLiabilities'),
|
||||
@@ -291,14 +291,14 @@ function StockDetail() {
|
||||
label: financePropertyLabel(id, '流动负债占比', 'PERCENTAGE', 'currentLiabilitiesToTotalAssetsRatio'),
|
||||
content: '${balanceSheet.currentLiabilitiesRatio}',
|
||||
},
|
||||
{
|
||||
label: financePropertyLabel(id, '流动资产占比', 'PERCENTAGE', 'currentAssetsToTotalAssetsRatio'),
|
||||
content: '${balanceSheet.currentAssetsRatio}',
|
||||
},
|
||||
{
|
||||
label: financePropertyLabel(id, '非流动资产', 'FINANCE', 'fixedAssets'),
|
||||
content: '${balanceSheet.fixedAssets}',
|
||||
},
|
||||
{
|
||||
label: financePropertyLabel(id, '非流动资产占比', 'PERCENTAGE', 'fixedAssetsToTotalAssetsRatio'),
|
||||
content: '${balanceSheet.fixedAssetsRatio}',
|
||||
},
|
||||
{
|
||||
label: financePropertyLabel(id, '非流动负债', 'FINANCE', 'longTermLiabilities'),
|
||||
content: '${balanceSheet.longTermLiabilities}',
|
||||
@@ -409,10 +409,10 @@ function StockDetail() {
|
||||
],
|
||||
},
|
||||
{type: 'divider'},
|
||||
"100天日线数据",
|
||||
"100日线数据",
|
||||
{
|
||||
type: 'chart',
|
||||
height: 800,
|
||||
height: 500,
|
||||
api: `get:${commonInfo.baseUrl}/stock/daily/${id}`,
|
||||
config: {
|
||||
backgroundColor: '#fff',
|
||||
@@ -538,6 +538,7 @@ function StockDetail() {
|
||||
],
|
||||
},
|
||||
},
|
||||
"12月线数据"
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user