From c832bf2e80ac465e71b7a1c1f7a59d4252030989 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 05 Aug 2025 17:33:08 +0800
Subject: [PATCH] feat:事件工单滚动条

---
 src/views/device/components/firmwareManage.vue |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/views/device/components/firmwareManage.vue b/src/views/device/components/firmwareManage.vue
index 0fe4c63..95e8534 100644
--- a/src/views/device/components/firmwareManage.vue
+++ b/src/views/device/components/firmwareManage.vue
@@ -89,7 +89,7 @@
       firmwareUploadBox: false,
       form: {},
       query: {},
-      workspaceId: '',
+      workspaceId: '4a574d68-4ad3-48f7-9f16-3edbcd8056e1',
       deviceName: '',
       loading: true,
       page: {
@@ -101,8 +101,6 @@
       option: {
         lazy: true,
         tree: true,
-        height: 'atuo',
-        calcHeight: 32,
         dialogWidth: 950,
         tip: false,
         searchShow: true,
@@ -115,6 +113,9 @@
         excelBtn: false,
         dialogClickModal: false,
         grid: false,
+
+        height: 'auto',
+        calcHeight: 20,
         column: [
           {
             label: '设备名称',
@@ -317,8 +318,8 @@
     },
     // 初始化数据
     init(data) {
-      this.workspaceId = data.workspace_id;
-      // this.workspaceId = '4a574d68-4ad3-48f7-9f16-3edbcd8056e1';
+      // this.workspaceId = data.workspace_id;
+      this.workspaceId = '4a574d68-4ad3-48f7-9f16-3edbcd8056e1';
       this.deviceName = data.device_name;
       this.onLoad(this.page);
     },
@@ -431,3 +432,4 @@
   /* color: aqua; */
 }
 </style>
+<style scoped lang="scss"></style>

--
Gitblit v1.9.3