update:暂时恢复先前的随机生成uuid

This commit is contained in:
3030332422
2025-10-14 18:06:57 +08:00
parent 13ce67e4c7
commit 0e1392de35
7 changed files with 47 additions and 9 deletions
+2 -2
View File
@@ -148,7 +148,7 @@
import Api from "@/apis/api";
import VersionFooter from "@/components/VersionFooter.vue";
import i18n, { changeLanguage } from "@/i18n";
import { goToPage, showDanger, showSuccess, sm2Encrypt, validateMobile } from "@/utils";
import { getUUID, goToPage, showDanger, showSuccess, sm2Encrypt, validateMobile } from "@/utils";
import { mapState } from "vuex";
export default {
@@ -213,7 +213,7 @@ export default {
this.$router.push("/home");
}
} else {
this.captchaUuid = crypto.randomUUID();
this.captchaUuid = getUUID();
Api.user.getCaptcha(this.captchaUuid, (res) => {
if (res.status === 200) {