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 @@ >