From e00da37c79796f9776b2013f826d27bda5a1a226 Mon Sep 17 00:00:00 2001 From: qq_38870145 Date: Wed, 15 May 2024 09:37:00 +0800 Subject: [PATCH] Wed May 15 09:37:00 CST 2024 inscode --- src/App.vue | 8 ++--- src/components/visual/index.vue | 52 +++++++++++++++++++++------------ 2 files changed, 38 insertions(+), 22 deletions(-) diff --git a/src/App.vue b/src/App.vue index f021b64..d1f0d84 100644 --- a/src/App.vue +++ b/src/App.vue @@ -10,10 +10,10 @@ import "dayjs/locale/zh-cn"; import { useStore } from "vuex"; import {WebPerformance} from 'web-performance-tool'; onMounted(()=>{ - const WebPerformanceInstance=new WebPerformance(); - // 计算性能 - WebPerformanceInstance.calcPerformance(); - console.log('性能指标:',WebPerformanceInstance.getPerformance()) + // const WebPerformanceInstance=new WebPerformance(); + // // 计算性能 + // WebPerformanceInstance.calcPerformance(); + // console.log('性能指标:',WebPerformanceInstance.getPerformance()) }) dayjs.locale("zh-cn"); diff --git a/src/components/visual/index.vue b/src/components/visual/index.vue index ccc11bc..682c9c8 100644 --- a/src/components/visual/index.vue +++ b/src/components/visual/index.vue @@ -1,33 +1,49 @@ \ No newline at end of file -- GitLab