table consel
This commit is contained in:
		
							parent
							
								
									7603563a7a
								
							
						
					
					
						commit
						08dd5a910d
					
				| @ -109,7 +109,7 @@ const _sfc_main = defineComponent({ | |||||||
|       var noNegative = true; |       var noNegative = true; | ||||||
|       s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + ""; |       s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + ""; | ||||||
|       if (parseFloat(s) < 0) { |       if (parseFloat(s) < 0) { | ||||||
|         s = Math.abs(s) + ""; |         s = Math.abs(parseFloat(s)) + ""; | ||||||
|         noNegative = false; |         noNegative = false; | ||||||
|       } |       } | ||||||
|       var l = s.split(".")[0].split("").reverse(), r = s.split(".")[1]; |       var l = s.split(".")[0].split("").reverse(), r = s.split(".")[1]; | ||||||
|  | |||||||
| @ -986,6 +986,7 @@ const _sfc_main = defineComponent({ | |||||||
|       } else { |       } else { | ||||||
|         scrollWidthCell.value = 0; |         scrollWidthCell.value = 0; | ||||||
|       } |       } | ||||||
|  |       console.log("\u6EDA\u52A8\u6761\u5BBD\u5EA6", scrollWidthCell.value); | ||||||
|       tableBodyEmptyWidth.value = ((_c = tableHeaderTable.value) == null ? void 0 : _c.offsetWidth) + "px"; |       tableBodyEmptyWidth.value = ((_c = tableHeaderTable.value) == null ? void 0 : _c.offsetWidth) + "px"; | ||||||
|     }; |     }; | ||||||
|     const hasl = ref(false); |     const hasl = ref(false); | ||||||
|  | |||||||
| @ -11233,7 +11233,7 @@ const _sfc_main$1v = defineComponent({ | |||||||
|       var noNegative = true; |       var noNegative = true; | ||||||
|       s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + ""; |       s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + ""; | ||||||
|       if (parseFloat(s) < 0) { |       if (parseFloat(s) < 0) { | ||||||
|         s = Math.abs(s) + ""; |         s = Math.abs(parseFloat(s)) + ""; | ||||||
|         noNegative = false; |         noNegative = false; | ||||||
|       } |       } | ||||||
|       var l = s.split(".")[0].split("").reverse(), r = s.split(".")[1]; |       var l = s.split(".")[0].split("").reverse(), r = s.split(".")[1]; | ||||||
| @ -19404,6 +19404,7 @@ const _sfc_main$D = defineComponent({ | |||||||
|       } else { |       } else { | ||||||
|         scrollWidthCell.value = 0; |         scrollWidthCell.value = 0; | ||||||
|       } |       } | ||||||
|  |       console.log("\u6EDA\u52A8\u6761\u5BBD\u5EA6", scrollWidthCell.value); | ||||||
|       tableBodyEmptyWidth.value = ((_c = tableHeaderTable.value) == null ? void 0 : _c.offsetWidth) + "px"; |       tableBodyEmptyWidth.value = ((_c = tableHeaderTable.value) == null ? void 0 : _c.offsetWidth) + "px"; | ||||||
|     }; |     }; | ||||||
|     const hasl = ref(false); |     const hasl = ref(false); | ||||||
|  | |||||||
| @ -70,7 +70,7 @@ const formatMoney = function (s: string) { | |||||||
|   var noNegative = true; |   var noNegative = true; | ||||||
|   s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + ""; |   s = parseFloat((s + "").replace(/[^\d\.-]/g, "")) + ""; | ||||||
|   if (parseFloat(s) < 0) { |   if (parseFloat(s) < 0) { | ||||||
|     s = Math.abs(s) + ""; |     s = Math.abs(parseFloat(s)) + ""; | ||||||
|     noNegative = false; |     noNegative = false; | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -434,6 +434,8 @@ const getScrollWidth = () => { | |||||||
|   } else { |   } else { | ||||||
|     scrollWidthCell.value = 0; |     scrollWidthCell.value = 0; | ||||||
|   } |   } | ||||||
|  |   console.log("滚动条宽度",scrollWidthCell.value) | ||||||
|  | 
 | ||||||
|   tableBodyEmptyWidth.value = tableHeaderTable.value?.offsetWidth + "px"; |   tableBodyEmptyWidth.value = tableHeaderTable.value?.offsetWidth + "px"; | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
|  | |||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user