摘要: 小程序不支持props,在小程序中无法通过props给子组件传递值。 this.$emit("getF",getForm) 如果getForm为函数 则父级:getF="getF“ getF为父级定义的方法,此时子级的getForm函数将作为参数传递给getF,为回调函数。\ 小程序会过滤掉uni- 阅读全文
posted @ 2021-10-22 21:19 棋进制 阅读(927) 评论(0) 推荐(0)