uniapp中父组件调用子组件的方法,在微信小程序可行,在头条去不行
onShow(){
let domPoint=uni.createSelectorQuery().in(this);
this.$refs.main.init(domPoint) //在头条中报错,在wx中能执行
},

我头没秃
- 发布:2020-02-26 19:12
- 更新:2020-02-26 19:22
- 阅读:1950


