From a68472f06a3f148540c36f7742201001125f5803 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 15 八月 2024 11:46:53 +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