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:
Dream Hunter
2023-12-18 21:41:15 +08:00
committed by GitHub
parent af78248145
commit 95ae65dc03
14 changed files with 349 additions and 33 deletions
+11
View File
@@ -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,