this.getOpenerEventChannel is not a function



  • opener: Taro.navigateTo({
    url: ../caughtReason/index?type=${type},
    events: {
    acceptDataFromOpenedPage: function(data) {
    console.log(data)
    },
    }
    })
    opened: handleSave = () => {
    const eventChannel = this.getOpenerEventChannel()
    }
    this.getOpenerEventChannel is not a function


登录后回复