Hi,
we have a catalog page linking to articles. On pageInit on the article page we query out websocket to get the article details. First time calling the article page works fine, every second and following call the error mentioned above appears.
article.f7.html
pageInit: function (e, page) {
var _this = this;
document.addEventListener("getArticleSimple", _this.parse);
wss.send({'type':'article', 'action':'simple', 'data':{'key': page.router.currentRoute.params.search}});
}
....
methods:{
parse: function(e){
var _this = this;
_this.$setState({
loadingArticle: false
, 'article': e.detail.data[0]
}, function(){
Translation.translate();
});
....