空就是空
This commit is contained in:
		
							parent
							
								
									0511c97302
								
							
						
					
					
						commit
						e16168dd21
					
				@ -103,6 +103,9 @@ const _sfc_main = defineComponent({
 | 
			
		||||
    const isPassword = computed(() => type.value == "password");
 | 
			
		||||
    const composing = ref(false);
 | 
			
		||||
    const formatMoney = function(s) {
 | 
			
		||||
      if (s == "") {
 | 
			
		||||
        return "";
 | 
			
		||||
      }
 | 
			
		||||
      var noNegative = true;
 | 
			
		||||
      s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + "";
 | 
			
		||||
      if (parseFloat(s) < 0) {
 | 
			
		||||
 | 
			
		||||
@ -11227,6 +11227,9 @@ const _sfc_main$1v = defineComponent({
 | 
			
		||||
    const isPassword = computed$1(() => type4.value == "password");
 | 
			
		||||
    const composing = ref(false);
 | 
			
		||||
    const formatMoney = function(s) {
 | 
			
		||||
      if (s == "") {
 | 
			
		||||
        return "";
 | 
			
		||||
      }
 | 
			
		||||
      var noNegative = true;
 | 
			
		||||
      s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + "";
 | 
			
		||||
      if (parseFloat(s) < 0) {
 | 
			
		||||
 | 
			
		||||
@ -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) {
 | 
			
		||||
 | 
			
		||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user