refactor reset password functions

This commit is contained in:
RockYang
2024-08-19 12:05:00 +08:00
parent 3ae7ebfeaf
commit 8d7c028ca8
6 changed files with 82 additions and 41 deletions

View File

@@ -160,7 +160,7 @@ import {httpGet, httpPost} from "@/utils/http";
import Compressor from 'compressorjs';
import {dateFormat, isWeChatBrowser, showLoginDialog} from "@/utils/libs";
import {ElMessage} from "element-plus";
import {checkSession} from "@/store/cache";
import {checkSession, getSystemInfo} from "@/store/cache";
import {useRouter} from "vue-router";
import {removeUserToken} from "@/store/session";
import bus from '@/store/eventbus'