空就是空
This commit is contained in:
@@ -64,6 +64,9 @@ const isPassword = computed(() => type.value == "password");
|
||||
const composing = ref(false);
|
||||
|
||||
const formatMoney = function (s: string) {
|
||||
if(s == ""){
|
||||
return ""
|
||||
}
|
||||
var noNegative = true;
|
||||
s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + "";
|
||||
if (parseFloat(s) < 0) {
|
||||
|
||||
Reference in New Issue
Block a user