修改缓存监控内存单位

This commit is contained in:
RuoYi 2020-11-28 13:57:19 +08:00
parent a3b86d6f6d
commit 6072239a40

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}M", formatter: "{b} <br/>{a} : {c}K",
}, },
series: [ series: [
{ {
name: "峰值", name: "峰值",
type: "gauge", type: "gauge",
detail: { detail: {
formatter: "{value}M", formatter: "{value}K",
}, },
data: [ data: [
{ {