提交 eaa7ad69 编写于 作者: Q qq_38870145

Wed May 1 16:03:00 CST 2024 inscode

上级 ae12ff9e
...@@ -8,9 +8,11 @@ import zhCN from "ant-design-vue/es/locale/zh_CN"; ...@@ -8,9 +8,11 @@ import zhCN from "ant-design-vue/es/locale/zh_CN";
import dayjs from "dayjs"; import dayjs from "dayjs";
import "dayjs/locale/zh-cn"; import "dayjs/locale/zh-cn";
import { useStore } from "vuex"; import { useStore } from "vuex";
import {WebPerformance} from 'web-perfromance-tool'; import {WebPerformance} from 'web-performance-tool';
onMounted(()=>{ onMounted(()=>{
const WebPerformanceInstance=new WebPerformance(); const WebPerformanceInstance=new WebPerformance();
// 计算性能
WebPerformanceInstance.calcPerformance();
console.log('性能指标:',WebPerformanceInstance.getPerformance()) console.log('性能指标:',WebPerformanceInstance.getPerformance())
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册