zhengnaiwen_citu преди 5 месеца
родител
ревизия
2e34641819
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      components/FilterList/index.vue

+ 2 - 2
components/FilterList/index.vue

@@ -93,7 +93,7 @@ const getData = (e) => {
     e.array = data.data
     e.itemLabel = e.map?.text
     e.itemValue = e.map?.value
-    e.value = []
+    e.value = e.multiple ? [] : null
   })
 }
 
@@ -142,7 +142,7 @@ watch(() => props.list,
       display: flex;
       align-items: center;
       justify-content: center;
-      .active {
+      &.active {
         color: #008978;
       }
       .over {