feat(project): support app custom loading template

This commit is contained in:
vince
2024-07-10 22:44:48 +08:00
parent 8952e947bf
commit 0f246f7e9e
5 changed files with 16 additions and 10 deletions

View File

@@ -102,7 +102,7 @@ const emit = defineEmits<{
const router = useRouter();
const REMEMBER_ME_KEY = 'REMEMBER_ME_USERNAME';
const REMEMBER_ME_KEY = `REMEMBER_ME_USERNAME_${location.hostname}`;
const localUsername = localStorage.getItem(REMEMBER_ME_KEY) || '';