Redis监控用Echart组件整改

pull/148/head
Chika 2023-05-12 16:10:14 +08:00
parent 8456c671e8
commit fbac522149
1 changed files with 1 additions and 5 deletions

View File

@ -218,7 +218,6 @@ const getSummary = () => {
usedMemoryInstance()
}
<<<<<<< HEAD
/** 命令使用情况 */
const initcommandStatsChart = async () => {
usedmemoryEchartChika.series[0].data = []
@ -257,6 +256,7 @@ const usedMemoryInstance = async () => {
value: cache.value!.info.used_memory_human,
name: '内存消耗'
}
console.log(cache.value!.info)
usedmemoryEchartChika.tooltip = {
formatter: '{b} <br/>{a} : ' + cache.value!.info.used_memory_human
}
@ -265,10 +265,6 @@ const usedMemoryInstance = async () => {
/** 初始化 **/
onMounted(() => {
=======
onBeforeMount(() => {
// TODO @hiiwbs 使 Echart
>>>>>>> e92361ed401771998c6abd6d9ba53801a6e0cfa6
readRedisInfo()
//
getSummary()