mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-05 23:47:50 +08:00
feat: add auto reply (#49)
* feat: add auto reply * feat: add auto reply * feat: update readme * feat: add auto reply
This commit is contained in:
@@ -12,6 +12,16 @@ export const useGlobalState = createGlobalState(
|
||||
value: 'test.com'
|
||||
}]
|
||||
})
|
||||
const settings = ref({
|
||||
address: '',
|
||||
auto_reply: {
|
||||
subject: '',
|
||||
message: '',
|
||||
enabled: false,
|
||||
source_prefix: '',
|
||||
name: '',
|
||||
}
|
||||
})
|
||||
const showAuth = ref(false);
|
||||
const showAdminAuth = ref(false);
|
||||
const auth = useStorage('auth', '');
|
||||
@@ -21,6 +31,7 @@ export const useGlobalState = createGlobalState(
|
||||
const themeSwitch = useStorage('themeSwitch', false);
|
||||
return {
|
||||
loading,
|
||||
settings,
|
||||
openSettings,
|
||||
showAuth,
|
||||
auth,
|
||||
|
||||
Reference in New Issue
Block a user