feat: implement app reload functionality via global key event and menu action, enhancing user experience with dynamic content updates

This commit is contained in:
wizardchen
2026-04-11 16:47:01 +08:00
committed by lyingbug
parent dfaaa62f14
commit e49ff986eb
3 changed files with 35 additions and 4 deletions
+2 -1
View File
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { computed, nextTick, onMounted } from 'vue'
import { computed, nextTick, onMounted, onUnmounted } from 'vue'
import { useRouter } from 'vue-router'
import { useI18n } from 'vue-i18n'
import { MessagePlugin } from 'tdesign-vue-next'
@@ -135,6 +135,7 @@ const handleGlobalOIDCCallback = async () => {
onMounted(() => {
handleGlobalOIDCCallback()
})
</script>
<template>
<t-config-provider :globalConfig="tdGlobalConfig">