This commit is contained in:
Theluyuan 2023-01-11 16:01:44 +08:00
parent 703a4aeeaf
commit 2658e52bf9

View File

@ -64,8 +64,8 @@ const isPassword = computed(() => type.value == "password");
const composing = ref(false);
const formatMoney = function (s: string) {
if(s == ""){
return ""
if (s == "") {
return "";
}
var noNegative = true;
s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + "";