Explorar el Código

解决select报错

wangwei hace 4 años
padre
commit
7cd020692e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/department/department/customCom/CustomSelect.vue

+ 1 - 1
src/views/department/department/customCom/CustomSelect.vue

@@ -29,7 +29,7 @@
     setup(props, { emit }) {
       const state = reactive({
         options: [],
-        value: '',
+        value: [],
         placeholder: props.placeholder,
         type: props.type,
       });