refactor: 为测试暴露组件内部状态

This commit is contained in:
2026-08-03 22:21:25 +08:00
parent 9bba684fb2
commit f71abdd000
4 changed files with 30 additions and 0 deletions
+2
View File
@@ -50,6 +50,8 @@ const handleLogout = async () => {
await router.push("/login");
}
};
defineExpose({ isLoginRoute, showBackButton, pageTitle, handleLogout });
</script>
<style scoped>