qfw
This commit is contained in:
@@ -115,7 +115,7 @@ const onBlur = (event: Event) => {
|
||||
}
|
||||
if(props.qfw){
|
||||
try{
|
||||
let reg = /\d{1,3}(?=(\d{3})+$)/g;
|
||||
let reg = /\B(?=(\d{3})+$)/g;
|
||||
// new String(props.modelValue).replace(reg, '$&,');
|
||||
console.log("添加,", new String(props.modelValue).replace(reg, '$&,'))
|
||||
currentValue.value = new String(props.modelValue).replace(reg, '$&,');
|
||||
|
||||
Reference in New Issue
Block a user