|
|
@@ -17,7 +17,7 @@ export function useTaAccount<T extends { accountid: undefined | number }>(formSt
|
|
|
function getSelectedAccount() {
|
|
|
return accountList.find((e) => e.accountid === formState.accountid);
|
|
|
}
|
|
|
- const { canUseMoney: canUseMoney_, getHoldsList } = useHazardRates();
|
|
|
+ const { canUseMoney: canUseMoney_, getHoldsList, getSwapList } = useHazardRates();
|
|
|
// 表格列表数据
|
|
|
const { loading, tableList, queryTable } = queryTableList<Taaccount>();
|
|
|
// 获取列表数据
|
|
|
@@ -28,6 +28,7 @@ export function useTaAccount<T extends { accountid: undefined | number }>(formSt
|
|
|
queryTable(getTaAccounts, param);
|
|
|
// 获取头寸
|
|
|
getHoldsList(loading)
|
|
|
+ getSwapList()
|
|
|
};
|
|
|
queryTableAction()
|
|
|
// 可用资金
|