Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
3b2669d1
Commit
3b2669d1
authored
Nov 30, 2020
by
RuoYi
Browse files
修改缓存监控内存单位
parent
1147ea5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-ui/src/views/monitor/cache/index.vue
View file @
3b2669d1
...
...
@@ -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
:
[
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment