mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-07-11 23:41:58 +08:00
feat: add admin account page with logout and responsive address bar (#803)
- Add admin account tab to display current login method - Support logout for admin password login only - Show login method (password/user admin/disabled check) - Improve address bar responsive layout with auto-wrap - Update changelog for new features 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -230,7 +230,7 @@ watch([userJwt, isTelegram, () => settings.value.address], async () => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<n-flex class="address-row" align="center" justify="center" :wrap="false">
|
||||
<n-flex class="address-row" align="center" justify="center" :wrap="true">
|
||||
<n-select v-model:value="addressValue" :options="addressOptions" :size="size" filterable
|
||||
:loading="addressLoading" :placeholder="t('address')" @update:value="onAddressChange"
|
||||
class="address-select" />
|
||||
@@ -244,16 +244,17 @@ watch([userJwt, isTelegram, () => settings.value.address], async () => {
|
||||
<style scoped>
|
||||
.address-row {
|
||||
width: 100%;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.address-select {
|
||||
min-width: 220px;
|
||||
max-width: 420px;
|
||||
flex: 0 1 420px;
|
||||
flex: 1 1 220px;
|
||||
}
|
||||
|
||||
.address-copy {
|
||||
margin-left: 10px;
|
||||
flex: 0 0 auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user