1👍
✅
Try to set statID
as a computed property use it in the mounted hook :
computed :{
statID (){
return this.commentRecId;
}
}
and reference it in mounted hook by prefixing it with this
like console.log("Edit Comment this.commentRecId: " + this.statID);
Source:stackexchange.com