Skip to content

Commit fbac522

Browse files
committed
Redis监控用Echart组件整改
1 parent 8456c67 commit fbac522

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/views/infra/redis/index.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ const getSummary = () => {
218218
usedMemoryInstance()
219219
}
220220
221-
<<<<<<< HEAD
222221
/** 命令使用情况 */
223222
const initcommandStatsChart = async () => {
224223
usedmemoryEchartChika.series[0].data = []
@@ -257,6 +256,7 @@ const usedMemoryInstance = async () => {
257256
value: cache.value!.info.used_memory_human,
258257
name: '内存消耗'
259258
}
259+
console.log(cache.value!.info)
260260
usedmemoryEchartChika.tooltip = {
261261
formatter: '{b} <br/>{a} : ' + cache.value!.info.used_memory_human
262262
}
@@ -265,10 +265,6 @@ const usedMemoryInstance = async () => {
265265
266266
/** 初始化 **/
267267
onMounted(() => {
268-
=======
269-
onBeforeMount(() => {
270-
// TODO @hiiwbs 微信,优化使用 Echart 组件
271-
>>>>>>> e92361ed401771998c6abd6d9ba53801a6e0cfa6
272268
readRedisInfo()
273269
// 加载数据
274270
getSummary()

0 commit comments

Comments
 (0)