|
@@ -107,7 +107,7 @@
|
|
|
}
|
|
|
async function handleConfirm() {
|
|
|
const { id, machineCode } = await validate();
|
|
|
- let res = await checkMachineCode({ machineCode:machineCode.trim() });
|
|
|
+ let res = await checkMachineCode({ machineCode:machineCode.replace(/\s*/g,"") });
|
|
|
console.log('res', res, !id);
|
|
|
if (!id && res && res.id) {
|
|
|
createConfirm({
|