From b4689b146362bf9fcf9191e6221aff61ae9a7773 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 05 九月 2024 21:46:56 +0800
Subject: [PATCH] 率
---
src/main.js | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/main.js b/src/main.js
index ba602b0..96e7994 100644
--- a/src/main.js
+++ b/src/main.js
@@ -59,6 +59,8 @@
Vue.prototype.handleTree = handleTree
Vue.prototype.getToken = getToken
Vue.prototype.$uploadUrl = process.env.VUE_APP_BASE_API + "/common/upload"
+Vue.prototype.$img = process.env.VUE_APP_BASE_API
+
// 鍏ㄥ眬缁勪欢鎸傝浇
Vue.component('DictTag', DictTag)
@@ -75,6 +77,9 @@
Vue.use(VScaleScreen)
Vue.use(dataV)
DictData.install()
+
+// websocket
+Vue.prototype.$websocket = null;
/**
* If you don't want to use mock-server
@@ -104,7 +109,7 @@
duration: 1,
ease: "power2.out",
onUpdate: () => {
- el.innerText = formatNumber(target.count.toFixed(0));
+ // el.innerText = formatNumber(target.count.toFixed(0));
}
})
@@ -119,7 +124,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