mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-05 07:27:27 +08:00
fix: code bugs (#734)
This commit is contained in:
@@ -38,7 +38,7 @@ const notification = useNotification()
|
|||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
|
|
||||||
const {
|
const {
|
||||||
jwt, loading, openSettings, settings,
|
jwt, loading, openSettings,
|
||||||
showAddressCredential, userSettings, addressPassword
|
showAddressCredential, userSettings, addressPassword
|
||||||
} = useGlobalState()
|
} = useGlobalState()
|
||||||
|
|
||||||
@@ -207,7 +207,6 @@ const newEmail = async () => {
|
|||||||
);
|
);
|
||||||
jwt.value = res["jwt"];
|
jwt.value = res["jwt"];
|
||||||
addressPassword.value = res["password"] || '';
|
addressPassword.value = res["password"] || '';
|
||||||
settings.value.address = res["address"] || '';
|
|
||||||
await api.getSettings();
|
await api.getSettings();
|
||||||
await router.push(getRouterPathWithLang("/", locale.value));
|
await router.push(getRouterPathWithLang("/", locale.value));
|
||||||
showAddressCredential.value = true;
|
showAddressCredential.value = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user