fix: send_balance not update when click sendmail (#155)

This commit is contained in:
Dream Hunter
2024-04-22 21:47:32 +08:00
committed by GitHub
parent 27138dc6a0
commit 1be94a81e0
2 changed files with 7 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
<script setup>
import { useI18n } from 'vue-i18n'
import { ref } from 'vue'
import { onMounted, ref } from 'vue'
import { useStorage } from '@vueuse/core'
import { useGlobalState } from '../../store'
@@ -102,6 +102,10 @@ const requestAccess = async () => {
message.error(error.message || "error");
}
}
onMounted(async () => {
await api.getSettings();
})
</script>
<template>