chenjun il y a 2 ans
Parent
commit
930c26fbde
1 fichiers modifiés avec 1 ajouts et 4 suppressions
  1. 1 4
      src/views/securityCheck/components/securityCheckHeader.vue

+ 1 - 4
src/views/securityCheck/components/securityCheckHeader.vue

@@ -72,6 +72,7 @@
             :placeholder="selectPlaceholder"
             :placeholder="selectPlaceholder"
             :value="formData.selection ? formData.selection : undefined"
             :value="formData.selection ? formData.selection : undefined"
             @change="handleChange"
             @change="handleChange"
+            allowClear
           >
           >
             <a-select-option
             <a-select-option
               v-for="item in optionLists"
               v-for="item in optionLists"
@@ -187,10 +188,6 @@ export default {
     optionLists: {
     optionLists: {
       type: Array,
       type: Array,
       default: () => [
       default: () => [
-        {
-          name: "全部",
-          lable: "",
-        },
         {
         {
           name: "A",
           name: "A",
           lable: "A",
           lable: "A",