mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-30 11:11:55 +08:00
修改缓存监控内存单位
This commit is contained in:
parent
1147ea5f8a
commit
3b2669d148
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 = echarts.init(this.$refs.usedmemory, "macarons");
|
||||||
this.usedmemory.setOption({
|
this.usedmemory.setOption({
|
||||||
tooltip: {
|
tooltip: {
|
||||||
formatter: "{b} <br/>{a} : {c}K",
|
formatter: "{b} <br/>{a} : " + this.cache.info.used_memory_human,
|
||||||
},
|
},
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
name: "峰值",
|
name: "峰值",
|
||||||
type: "gauge",
|
type: "gauge",
|
||||||
detail: {
|
detail: {
|
||||||
formatter: "{value}K",
|
formatter: this.cache.info.used_memory_human,
|
||||||
},
|
},
|
||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user