guhongwei hace 2 años
padre
commit
f197cba81d
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/components/frame/c-form.vue

+ 2 - 0
src/components/frame/c-form.vue

@@ -40,6 +40,8 @@
                   <el-select
                     clearable
                     filterable
+                    allow-create
+                    default-first-option
                     v-model="form[item.model]"
                     :type="item.type"
                     :placeholder="getField('selectplaceholder', item)"