From a6842851a844e63a8766d63c5410a8e2f27a7d45 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 20 八月 2024 11:56:30 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/main.js | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index 7944e09..7cc0f9a 100644 --- a/src/main.js +++ b/src/main.js @@ -58,6 +58,7 @@ Vue.prototype.download = download Vue.prototype.handleTree = handleTree Vue.prototype.getToken = getToken +Vue.prototype.$uploadUrl = process.env.VUE_APP_BASE_API + "/common/upload" // 鍏ㄥ眬缁勪欢鎸傝浇 Vue.component('DictTag', DictTag) @@ -74,6 +75,9 @@ Vue.use(VScaleScreen) Vue.use(dataV) DictData.install() + +// websocket +Vue.prototype.$websocket = null; /** * If you don't want to use mock-server @@ -103,7 +107,7 @@ duration: 1, ease: "power2.out", onUpdate: () => { - el.innerText = formatNumber(target.count.toFixed(0)); + // el.innerText = formatNumber(target.count.toFixed(0)); } }) @@ -118,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