From b4400036ffe65ecfe86dc34b08ba8ee19f8f1cf2 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Mon, 30 Jun 2025 11:50:34 +0800
Subject: [PATCH] style 充值接口替换
---
src/views/wealth/transactionRecord.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/views/wealth/transactionRecord.vue b/src/views/wealth/transactionRecord.vue
index d160fab..abd25e4 100644
--- a/src/views/wealth/transactionRecord.vue
+++ b/src/views/wealth/transactionRecord.vue
@@ -94,7 +94,7 @@
{{ item.profit }}/{{
(() => {
const base =
- item.trade_avg_price * item.amount_open || 1;
+ item.close_avg_price * item.amount_open || 1;
let percent = (parseFloat(item.profit) / base) * 100;
if (percent !== 0 && Math.abs(percent) < 0.000001) {
percent = percent > 0 ? 0.000001 : -0.000001;
--
Gitblit v1.9.3