huangbin 4 лет назад
Родитель
Сommit
31247c716e

+ 1 - 1
src/views/order/funding_information/components/funding_information_funding_summary/setup.ts

@@ -105,7 +105,7 @@ export const useHazardRates = (positions: Ref<QueryTradePositionRsp[]>) => {
         return positions.value.length > 0 ? positions.value[0].decimalplace : 2
     }
     // 获取系统参数
-    const getSystemParam = (paramcode: string, value: string) => APP.getRef('systemParams').value.find((param: Systemparam) => param.paramcode)?.paramvalue === value
+    const getSystemParam = (paramcode: string, value: string) => APP.getRef('systemParams').value.find((param: Systemparam) => param.paramcode === paramcode)?.paramvalue === value
     // 获取当前资金账号对应的头寸
     function getTaaccountPosition(accountid: number) {
         return positions.value.filter(e => e.accountid === accountid)