feat: add adminContact && DEFAULT_SEND_BALANCE (#162)

This commit is contained in:
Dream Hunter
2024-04-26 00:21:43 +08:00
committed by GitHub
parent b058a1bd12
commit f624fe5b58
17 changed files with 175 additions and 110 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ import MailsUnknow from './admin/MailsUnknow.vue';
import Maintenance from './admin/Maintenance.vue';
const {
localeCache, adminAuth, showAdminAuth, adminTab
localeCache, adminAuth, showAdminAuth, adminTab, loading
} = useGlobalState()
const message = useMessage()
@@ -71,7 +71,7 @@ onMounted(async () => {
<p>{{ t('accessTip') }}</p>
<n-input v-model:value="adminAuth" type="textarea" :autosize="{ minRows: 3 }" />
<template #action>
<n-button @click="authFunc" type="primary">
<n-button @click="authFunc" type="primary" :loading="loading">
{{ t('ok') }}
</n-button>
</template>