Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
fbac5221
authored
May 12, 2023
by
Chika
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Redis监控用Echart组件整改
parent
8456c671
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
5 deletions
+1
-5
src/views/infra/redis/index.vue
+1
-5
No files found.
src/views/infra/redis/index.vue
View file @
fbac5221
...
@@ -218,7 +218,6 @@ const getSummary = () => {
...
@@ -218,7 +218,6 @@ const getSummary = () => {
usedMemoryInstance()
usedMemoryInstance()
}
}
<<<<<<<
HEAD
/** 命令使用情况 */
/** 命令使用情况 */
const initcommandStatsChart = async () => {
const initcommandStatsChart = async () => {
usedmemoryEchartChika.series[0].data = []
usedmemoryEchartChika.series[0].data = []
...
@@ -257,6 +256,7 @@ const usedMemoryInstance = async () => {
...
@@ -257,6 +256,7 @@ const usedMemoryInstance = async () => {
value: cache.value!.info.used_memory_human,
value: cache.value!.info.used_memory_human,
name: '
内存消耗
'
name: '
内存消耗
'
}
}
console.log(cache.value!.info)
usedmemoryEchartChika.tooltip = {
usedmemoryEchartChika.tooltip = {
formatter: '
{
b
}
<
br
/>
{
a
}
:
'
+
cache
.
value
!
.
info
.
used_memory_human
formatter: '
{
b
}
<
br
/>
{
a
}
:
'
+
cache
.
value
!
.
info
.
used_memory_human
}
}
...
@@ -265,10 +265,6 @@ const usedMemoryInstance = async () => {
...
@@ -265,10 +265,6 @@ const usedMemoryInstance = async () => {
/** 初始化 **/
/** 初始化 **/
onMounted
(()
=>
{
onMounted
(()
=>
{
=======
onBeforeMount
(()
=>
{
// TODO @hiiwbs 微信,优化使用 Echart 组件
>>>>>>>
e92361ed401771998c6abd6d9ba53801a6e0cfa6
readRedisInfo
()
readRedisInfo
()
// 加载数据
// 加载数据
getSummary
()
getSummary
()
...
...
Write
Preview
Markdown
is supported
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