< income: getStandards= "getStandards": index= "index" ref= "refIncome" > < / income >
clickPurchase: function (index) {
this.$refs.refIncome.handleStatePromptContent()
}
this is a child component referenced by the parent component
handleStatePromptContent () {
if ((this.$parent.details.isFirst === 0) && (this.$parent.details.isNovice === 1)) {
// this.showDialog = true
// this.message = ""
this.statePromptContent = ""
return false
}
if ((this.$parent.details.isNovice === 1) && (this.Total > 50000)) {
// this.showDialog = true
this.statePromptContent = "50000"
// this.message = "50000"
return false
}
if (this.count <= 0) {
// this.showDialog = true
this.statePromptContent = ""
// this.message = ""
return false
}
}
then this error is reported. Ask for advice on what"s going on.