密码进行md5校验

This commit is contained in:
gyq
2024-07-11 14:55:09 +08:00
parent 2a09a3fd5b
commit bb554a28d2
3 changed files with 80 additions and 77 deletions

View File

@@ -413,6 +413,7 @@ import {
import add from "@/views/order/components/add.vue";
import cashTable from "@/views/order/components/cashTable.vue";
import { clearNoNum } from "@/utils";
import md5 from "js-md5";
import { useGlobal } from "@/store/global.js";
@@ -466,7 +467,7 @@ async function passwordSuccess(pwd) {
return item && item;
});
if (arr.length != 0) {
await payreturnOrder(arr, pwd);
await payreturnOrder(arr, md5(pwd));
changechecked.value = false;
recharge.value = false;
itemboxshow.value = false;