mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	修改缓存监控内存单位
This commit is contained in:
		
							
								
								
									
										4
									
								
								ruoyi-ui/src/views/monitor/cache/index.vue
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								ruoyi-ui/src/views/monitor/cache/index.vue
									
									
									
									
										vendored
									
									
								
							@@ -117,14 +117,14 @@ export default {
 | 
			
		||||
        this.usedmemory = echarts.init(this.$refs.usedmemory, "macarons");
 | 
			
		||||
        this.usedmemory.setOption({
 | 
			
		||||
          tooltip: {
 | 
			
		||||
            formatter: "{b} <br/>{a} : {c}K",
 | 
			
		||||
            formatter: "{b} <br/>{a} : " + this.cache.info.used_memory_human,
 | 
			
		||||
          },
 | 
			
		||||
          series: [
 | 
			
		||||
            {
 | 
			
		||||
              name: "峰值",
 | 
			
		||||
              type: "gauge",
 | 
			
		||||
              detail: {
 | 
			
		||||
                formatter: "{value}K",
 | 
			
		||||
                formatter: this.cache.info.used_memory_human,
 | 
			
		||||
              },
 | 
			
		||||
              data: [
 | 
			
		||||
                {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user