Explorar o código

修复单行组件提交时获取不到值的问题

wu hai 2 meses
pai
achega
712b5aa14d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/Generator/components/NewInput/index.vue

+ 1 - 1
src/components/Generator/components/NewInput/index.vue

@@ -60,7 +60,7 @@ export default {
       // if (this.$attrs.propsUrl && val) {
       // this.$emit('change', val)
       //   console.log(val)
-      //   this.$listeners.input(val)
+        this.$listeners.input(val)
       // }
     },
     setValue() {