Pārlūkot izejas kodu

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

wu 2 mēneši atpakaļ
vecāks
revīzija
712b5aa14d

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

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