Browse Source

文件html错误key样式问题

duy 1 day ago
parent
commit
7d4acc011c
2 changed files with 23 additions and 23 deletions
  1. 1 1
      public/version.json
  2. 22 22
      src/views/manager/projectinfo/tree.vue

+ 1 - 1
public/version.json

@@ -1,3 +1,3 @@
 {
-  "value": "20251208165809"
+  "value": "20251208175236"
 }

+ 22 - 22
src/views/manager/projectinfo/tree.vue

@@ -2245,11 +2245,11 @@ export default {
     async getNodeDetailByType(data, node) {
       console.log(data, "data1111");
       let htmlElementError = null
-      if(data.excelId != '0'){
+      if (data.excelId != '0') {
         const res = await getHtmlErrorByPKeyId(data.pkeyId)
         htmlElementError = res.data.data ? 1 : 0
       }
-      
+
       // 保存当前选中的节点
       this.currentNodeKey = data.id;
       this.curTreeData = data;
@@ -5820,33 +5820,33 @@ export default {
   }
 }
 
-.category-section {
-  margin-bottom: 20px;
-
-  .htmlElementError-box {
-    display: flex;
-    align-items: center;
-    justify-content: center;
+.htmlElementError-box {
+  display: flex;
+  align-items: center;
+  justify-content: center;
 
-    .htmlElementError-tag {
-      display: block;
-      padding: 6px;
-      border-radius: 18px;
-      width: 60px;
+  .htmlElementError-tag {
+    display: block;
+    padding: 6px;
+    border-radius: 18px;
+    width: 60px;
 
-      &.no {
-        background-color: #DCFCE7;
-        color: #16A34A
-      }
+    &.no {
+      background-color: #DCFCE7;
+      color: #16A34A
+    }
 
-      &.yes {
-        background-color: #FEE2E3;
-        color: #E14247
-      }
+    &.yes {
+      background-color: #FEE2E3;
+      color: #E14247
     }
   }
 }
 
+.category-section {
+  margin-bottom: 20px;
+}
+
 .category-header {
   padding: 12px 20px;
   background-color: #e8e8e8;