From c011be033b7bb6314338cdcbcc087f1798416011 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 14 七月 2023 21:35:03 +0800
Subject: [PATCH] 代码整合,Stage.vue文件补齐,前端代码打包,dockingTaskService服务未定义修改

---
 Source/UBCS-WEB/dist/src/util/admin.js |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/Source/UBCS-WEB/dist/src/util/admin.js b/Source/UBCS-WEB/dist/src/util/admin.js
new file mode 100644
index 0000000..2a86e16
--- /dev/null
+++ b/Source/UBCS-WEB/dist/src/util/admin.js
@@ -0,0 +1,14 @@
+export default {
+    getScreen: function () {
+        var width = document.body.clientWidth;
+        if (width >= 1200) {
+            return 3; //澶у睆骞�
+        } else if (width >= 992) {
+            return 2; //涓睆骞�
+        } else if (width >= 768) {
+            return 1; //灏忓睆骞�
+        } else {
+            return 0; //瓒呭皬灞忓箷
+        }
+    }
+}
\ No newline at end of file

--
Gitblit v1.9.3