fix: 代理系列授权店铺
Some checks failed
构建并部署前端到测试环境 / build-and-deploy (push) Failing after 2m0s

This commit is contained in:
sexygoat
2026-05-09 16:13:11 +08:00
parent 3c71ae0004
commit 73ce9af11a
26 changed files with 833 additions and 807 deletions

View File

@@ -76,6 +76,7 @@
<div class="row full-width">
<WalletTransactionCard
:asset-identifier="cardInfo.identifier"
:search-token="walletTransactionSearchToken"
:wallet-info="walletInfo"
:wallet-loading="walletLoading"
:bound-device-id="cardInfo.bound_device_id"
@@ -295,6 +296,7 @@
pageSize: 5,
total: 0
})
const walletTransactionSearchToken = ref(0)
// ========== 轮询状态 ==========
const pollingEnabled = ref(false)
@@ -325,6 +327,10 @@
await fetchAssetDetail(deviceIdentifier)
}
if (cardInfo.value) {
walletTransactionSearchToken.value += 1
}
// 从接口数据初始化轮询开关,不触发更新接口
pollingInitializing = true
pollingEnabled.value = cardInfo.value?.enable_polling ?? false