fix: SFTP标签页离开后返回刷新状态丢失问题

This commit is contained in:
liumangmang
2026-03-30 16:18:00 +08:00
parent 78e6fc3e47
commit e895124831
3 changed files with 69 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
<script setup lang="ts">
<script setup lang="ts">
defineOptions({ name: 'SftpView' })
import { ref, computed, watch, onBeforeUnmount } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import { useToast } from 'vue-toast-notification'