摘要:
uni-app 中组件里使用this.$emit 直接写在@click="this.$emit(‘“voucherChange”,{item,index})"中报错 uni-app null is not an object (evaluating 'this.$emit') __ERROR 解决方 阅读全文
posted @ 2021-08-19 09:10
┕胡言亂語┑
阅读(352)
评论(0)
推荐(0)
摘要:
例如this.$refs.cModal.getShoppingVoucherList 在app中说此方法undefined 解决方法 使用$nextTick this.$nextTick(()=>{ this.$refs.cModal.getShoppingVoucherList((data)=>{ 阅读全文
posted @ 2021-08-19 09:05
┕胡言亂語┑
阅读(611)
评论(0)
推荐(0)

浙公网安备 33010602011771号