Refactor site import/export feature with improved toast notifications

Co-authored-by: jxxghp <jxxghp@live.cn>
This commit is contained in:
Cursor Agent
2025-08-22 23:12:01 +00:00
parent afc7c81028
commit 671cf8d588
5 changed files with 8 additions and 310 deletions

View File

@@ -12,6 +12,9 @@ const { t } = useI18n()
// 显示器宽度
const display = useDisplay()
// 提示框
const $toast = useToast()
// 输入参数
const props = defineProps({
modelValue: {
@@ -23,8 +26,7 @@ const props = defineProps({
// 注册事件
const emit = defineEmits(['update:modelValue', 'import-success'])
// 提示框
const $toast = useToast()
// 是否拖拽中
const isDragging = ref(false)