From 5239e90611556e1cd48a17bed656a7aa828fcb0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AD=A3=E6=98=93?= Date: Mon, 5 May 2025 12:22:33 +0800 Subject: [PATCH] =?UTF-8?q?Signalr=E6=8E=A8=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 11 +- manifest.json | 212 ++++++++++++------------ package.json | 1 + pages/index.vue | 107 +++++++++++- pages/produceManagement/andon/alarm.vue | 28 +--- utils/signalrUtil.js | 49 ++++++ 6 files changed, 271 insertions(+), 137 deletions(-) create mode 100644 utils/signalrUtil.js diff --git a/App.vue b/App.vue index 4fb27ce..9b92a09 100644 --- a/App.vue +++ b/App.vue @@ -7,6 +7,13 @@ export default { onLaunch: function () { this.initApp(); }, + onUnload() { + }, + data() { + return { + + }; + }, methods: { // 初始化应用 initApp() { @@ -16,9 +23,8 @@ export default { //#ifdef H5 this.checkLogin(); //#endif - // 震动实验 - }, + initConfig() { this.globalData.config = config; }, @@ -31,6 +37,7 @@ export default { }; +