?
This commit is contained in:
parent
703a4aeeaf
commit
2658e52bf9
@ -64,8 +64,8 @@ const isPassword = computed(() => type.value == "password");
|
|||||||
const composing = ref(false);
|
const composing = ref(false);
|
||||||
|
|
||||||
const formatMoney = function (s: string) {
|
const formatMoney = function (s: string) {
|
||||||
if(s == ""){
|
if (s == "") {
|
||||||
return ""
|
return "";
|
||||||
}
|
}
|
||||||
var noNegative = true;
|
var noNegative = true;
|
||||||
s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + "";
|
s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + "";
|
||||||
|
Loading…
Reference in New Issue
Block a user