From ca18425f8cb3b9e09cc1a1df31d7b91f77bb7566 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 29 八月 2024 17:44:11 +0800 Subject: [PATCH] 过程图优化 --- src/main.js | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index ba602b0..7cc0f9a 100644 --- a/src/main.js +++ b/src/main.js @@ -76,6 +76,9 @@ Vue.use(dataV) DictData.install() +// websocket +Vue.prototype.$websocket = null; + /** * If you don't want to use mock-server * you want to use MockJs for mock api @@ -104,7 +107,7 @@ duration: 1, ease: "power2.out", onUpdate: () => { - el.innerText = formatNumber(target.count.toFixed(0)); + // el.innerText = formatNumber(target.count.toFixed(0)); } }) @@ -119,7 +122,7 @@ duration: 1, ease: "power2.out", onUpdate: () => { - el.innerText = formatNumber(target.count.toFixed(0)); + // el.innerText = formatNumber(target.count.toFixed(0)); } }) } -- Gitblit v1.8.0