qfw
This commit is contained in:
@@ -141,7 +141,7 @@ const _sfc_main = defineComponent({
|
||||
}
|
||||
if (props.qfw) {
|
||||
try {
|
||||
let reg = /\d{1,3}(?=(\d{3})+$)/g;
|
||||
let reg = /\B(?=(\d{3})+$)/g;
|
||||
console.log("\u6DFB\u52A0\uFF0C", new String(props.modelValue).replace(reg, "$&,"));
|
||||
currentValue.value = new String(props.modelValue).replace(reg, "$&,");
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user