修复无法正常登录

添加emit可以使登录恢复正常

Signed-off-by: 于小丘 <admin@yuxiaoqiu.cn>
This commit is contained in:
2025-07-15 14:18:49 +08:00
committed by GitHub
parent 9aa31279c5
commit 0efffe4be6

View File

@@ -3,6 +3,7 @@ import { ref, onMounted } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import apiService from '@/services/api_service'
const emit = defineEmits(['show-toast'])
const route = useRoute()
const router = useRouter()
@@ -194,4 +195,4 @@ onMounted(() => {
padding: 12px;
}
}
</style>
</style>