修改缓存监控内存单位
This commit is contained in:
parent
a3b86d6f6d
commit
6072239a40
|
@ -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: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue