From 8596fc324532bf151e3f39c4d3ea18d880dc43c2 Mon Sep 17 00:00:00 2001
From: hailin <1356886193@qq.com>
Date: 星期二, 01 八月 2023 09:24:32 +0800
Subject: [PATCH] 标准库来自锅炉组长的第一次提交

---
 src/components/view/standard.vue |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/src/components/view/standard.vue b/src/components/view/standard.vue
index 853d4a2..0ee0fae 100644
--- a/src/components/view/standard.vue
+++ b/src/components/view/standard.vue
@@ -12,6 +12,10 @@
     margin-bottom: 10px;
     padding: 0 20px;
   }
+  
+  .standard .title *{
+    font-size: 16px;
+  }
 
   .thing {
     width: 100%;
@@ -85,6 +89,10 @@
   .standard .title .el-button * {
     font-size: 14px;
   }
+  
+  .standard .title .el-button--default{
+    color: #004EA2;
+  }
 
   .standard .thing .left .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
     background: rgba(58, 124, 253, 0.3);
@@ -101,7 +109,7 @@
   <div class="standard">
     <div class="title">
       <el-row>
-        <el-col :span="12">鏍囧噯BOM</el-col>
+        <el-col :span="12" style="line-height: 32px;">鏍囧噯BOM</el-col>
         <el-col :span="12" style="text-align: right;">
           <el-button type="primary" icon="el-icon-plus" style="background: #004EA2;">鏂板</el-button>
           <el-button icon="el-icon-edit-outline">淇敼</el-button>
@@ -210,7 +218,13 @@
               if (a.type == b.id) b.children = [a]
             })
           })
+          this.$nextTick().then(() => {
+          const firstNode = document.querySelector('.el-tree-node .el-tree-node__children .el-tree-node .el-tree-node__children .el-tree-node .el-tree-node__children .el-tree-node')
+          firstNode.click()
+          // console.log(firstNode)
+          })
         })
+        
       }
     }
   }

--
Gitblit v1.9.3