This commit is contained in:
疯狂的狮子li 2020-12-01 09:23:55 +08:00
commit b36b413a69
1 changed files with 2 additions and 2 deletions

View File

@ -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: [
{ {