From 5dc6be84f02788d98a67a7488e7fb2c8d4b08c04 Mon Sep 17 00:00:00 2001
From: wujianwei <wjw@11.com>
Date: 星期一, 12 一月 2026 15:04:43 +0800
Subject: [PATCH] 修改发票新增
---
ui/admin-ui3/src/views/system/user/profile/resetPwd.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/admin-ui3/src/views/system/user/profile/resetPwd.vue b/ui/admin-ui3/src/views/system/user/profile/resetPwd.vue
index 48ced73..01ca3b6 100644
--- a/ui/admin-ui3/src/views/system/user/profile/resetPwd.vue
+++ b/ui/admin-ui3/src/views/system/user/profile/resetPwd.vue
@@ -21,7 +21,7 @@
import useCurrentInstance from "@/utils/useCurrentInstance";
import {reactive, ref} from "vue";
import {ElForm} from "element-plus";
-import { sm3 } from "sm-crypto";
+import {encryptSm4} from "@/utils/Sm4Utils";
const { proxy } = useCurrentInstance();
const pwdRef = ref<InstanceType<typeof ElForm>>();
@@ -48,7 +48,7 @@
function submit() {
pwdRef.value!.validate(valid => {
if (valid) {
- updateUserPwd({oldPassword:sm3(user.oldPassword!) ,newPassword:sm3( user.newPassword!)}).then(response => {
+ updateUserPwd({oldPassword:encryptSm4(user.oldPassword!) ,newPassword:encryptSm4( user.newPassword!)}).then(response => {
proxy.$modal.msgSuccess("淇敼鎴愬姛");
});
}
--
Gitblit v1.8.0