fix: delete_address not delete address_sender (#153)

This commit is contained in:
Dream Hunter
2024-04-22 20:51:55 +08:00
committed by GitHub
parent c92d7dee64
commit 90c8eff2e5
5 changed files with 12 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ onMounted(async () => {
<template>
<n-config-provider :locale="localeConfig" :theme="theme">
<n-global-style />
<n-spin description="loading..." :show="loading">
<n-spin description="loading..." :show="loading" style="z-index: 9999;">
<n-message-provider>
<n-grid x-gap="12" :cols="12">
<n-gi v-if="!isMobile" span="1"></n-gi>

View File

@@ -81,6 +81,7 @@ const deleteEmail = async () => {
await fetchData()
} catch (error) {
message.error(error.message || "error");
showDelteAccount.value = false
}
}
@@ -214,7 +215,7 @@ onMounted(async () => {
<template #action>
</template>
</n-modal>
<n-modal v-model:show="showDelteAccount" preset="dialog" title="Dialog">
<n-modal v-model:show="showDelteAccount" preset="dialog" :title="t('delteAccount')">
<p>{{ t('deleteTip') }}</p>
<template #action>
<n-button @click="deleteEmail" size="small" tertiary round type="error">