This commit is contained in:
aaron 2026-03-29 18:22:36 +08:00
parent b7858fd85f
commit f276a33519

View File

@ -396,10 +396,8 @@
</div> </div>
<!-- Open Positions Table --> <!-- Open Positions Table -->
<div v-if="currentTab === 'positions'" class="table-container"> <div v-if="currentTab === 'positions' && openPositions.length > 0" class="table-container">
<!-- Open Positions Table --> <table>
<div v-if="currentTab === 'positions'" class="table-container">
<table>
<thead> <thead>
<tr> <tr>
<th>交易对</th> <th>交易对</th>
@ -716,7 +714,7 @@
async fetchLatestPrices() { async fetchLatestPrices() {
try { try {
const response = await axios.get('/monitor/status'); const response = await axios.get('/api/trading/monitor/status');
if (response.data.success && response.data.latest_prices) { if (response.data.success && response.data.latest_prices) {
this.latestPrices = response.data.latest_prices; this.latestPrices = response.data.latest_prices;
} }