fix: 查询使用量支持代理&修正使用量文案 (#1296)

* fix: 查询使用量支持代理&修正使用量文案

* fix: 修复默认错误

* chore: 移除打印

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
This commit is contained in:
ZuoNingandChenZhaoYu authored and GitHub committed 2023-04-08 11:47:00 +08:00
1 parent 86bba7d8f3
commit 439104f195
4 files changed
+35 -23

No files matched your search

+2 -3
View File
@@ -11,7 +11,7 @@ interface ConfigState {
apiModel?: string
socksProxy?: string
httpsProxy?: string
balance?: string
usage?: string
}
const authStore = useAuthStore()
@@ -62,8 +62,7 @@ onMounted(() => {
</div>
<p>{{ $t("setting.api") }}:{{ config?.apiModel ?? '-' }}</p>
<p v-if="isChatGPTAPI">
{{ $t("setting.balance") }}:{{ config?.balance ?? '-' }}
<span class="text-xs text-neutral-400">({{ $t('setting.monthlyUsage') }})</span>
{{ $t("setting.monthlyUsage") }}:{{ config?.usage ?? '-' }}
</p>
<p v-if="!isChatGPTAPI">
{{ $t("setting.reverseProxy") }}:{{ config?.reverseProxy ?? '-' }}