08 2021 档案
摘要:uni-app 中组件里使用this.$emit 直接写在@click="this.$emit(‘“voucherChange”,{item,index})"中报错 uni-app null is not an object (evaluating 'this.$emit') __ERROR 解决方
阅读全文
摘要:例如this.$refs.cModal.getShoppingVoucherList 在app中说此方法undefined 解决方法 使用$nextTick this.$nextTick(()=>{ this.$refs.cModal.getShoppingVoucherList((data)=>{
阅读全文