From 439b134c9b54ce7fa89f7963ff1c62e79997c00a Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期二, 23 八月 2022 20:47:41 +0800 Subject: [PATCH] 优化页面内嵌iframe切换tab不刷新数据 --- src/views/monitor/cache/index.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/monitor/cache/index.vue b/src/views/monitor/cache/index.vue index 4a7b2f4..02d2f7a 100644 --- a/src/views/monitor/cache/index.vue +++ b/src/views/monitor/cache/index.vue @@ -66,7 +66,7 @@ </div> </template> -<script setup> +<script setup name="Cache"> import { getCache } from '@/api/monitor/cache'; import * as echarts from 'echarts'; @@ -98,7 +98,7 @@ animationEasing: "cubicInOut", animationDuration: 1000 } - ], + ] }); const usedmemoryInstance = echarts.init(usedmemory.value, "macarons"); @@ -122,7 +122,7 @@ } ] } - ], + ] }) }) } -- Gitblit v1.9.3