From 37e75014d0d475ec8da1fe2f8452227bc93ed742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Fri, 24 Oct 2025 16:00:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=93=E5=8D=B0=E9=A2=84?= =?UTF-8?q?=E8=A7=88=E9=87=8C=E9=9D=A2=20=20=E5=B8=81=E7=A7=8D=20=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E4=B8=8D=E6=98=BE=E7=A4=BA=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/custom/InternalStaffViews.vue | 36 ++++++++++++-------- src/views/admin/log/changelog.vue | 6 ++-- 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/src/components/custom/InternalStaffViews.vue b/src/components/custom/InternalStaffViews.vue index 3463498..28ff13c 100644 --- a/src/components/custom/InternalStaffViews.vue +++ b/src/components/custom/InternalStaffViews.vue @@ -185,20 +185,26 @@ } }) }) - + loadCurrencyOptions() + // 设置默认币种 + if (props.defaultCurrency) { + selectedCurrency.value = props.defaultCurrency + } else { + selectedCurrency.value = 'USD' + } // 监听 visible 变化,加载币种选项 - watch( - () => props.visible, - (newVisible) => { - if (newVisible) { - loadCurrencyOptions() - // 设置默认币种 - if (props.defaultCurrency) { - selectedCurrency.value = props.defaultCurrency - } else { - selectedCurrency.value = 'USD' - } - } - } - ) + // watch( + // () => props.visible, + // (newVisible) => { + // if (newVisible) { + // loadCurrencyOptions() + // // 设置默认币种 + // if (props.defaultCurrency) { + // selectedCurrency.value = props.defaultCurrency + // } else { + // selectedCurrency.value = 'USD' + // } + // } + // } + // ) diff --git a/src/views/admin/log/changelog.vue b/src/views/admin/log/changelog.vue index 1bb89d0..60b7743 100644 --- a/src/views/admin/log/changelog.vue +++ b/src/views/admin/log/changelog.vue @@ -29,14 +29,14 @@ >