| 
					
				 | 
			
			
				@@ -1,6 +1,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export const getFormatedMoney = (money: number) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    const million = 1000000 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    const tenThousand = 10000 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    const million = 100 * 100 * 10000 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    const tenThousand = 100 * 10000 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if (money >= million) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return (money / million).toFixed(2) + ' 百万' 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -17,6 +17,6 @@ export const getMoneyCent = (money: number) => money * 100 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * 金额函数式组件 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export const money = ({ money, multiply = 1 }: { money: number, multiply?: number }) => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <el-tooltip content={money + '分'} placement="right" effect="light"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <el-tooltip content={(money / 100).toFixed(2) + ' 元' + " | " +money + ' 分'} placement="right" effect="light"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-tag effect="plain">{getFormatedMoney(money * multiply)}</el-tag> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </el-tooltip> 
			 |