2025-03-26

This commit is contained in:
2025-03-26 11:00:21 +08:00
parent 927d7381b8
commit b45f4950d3
468 changed files with 54473 additions and 124 deletions

View File

@@ -0,0 +1,9 @@
//只允许输入CTN开头并且CTN后面只能跟数字
export const boxCodeCtn = (target: any) => {
console.log(target.length);
return target.replace(/[^C|c|T|t|N|n]/g, "");
if ((target.length === 1 && target !== "c") || target !== "C") {
console.log("123232323");
return "";
}
};