getContentData() { var _this = this; var topicId = { topicId: 1584 }// 899_this.topicId this.$http.post(temporaryUrl + "/appTopic/queryAppTopicContent", topicId).then(function (response) { console.log(response); var res = response.body.body; var change = res.replace(/</ig, "<") .replace(/>/ig, ">") .replace(/&/ig, "&") .replace(/"/ig, """) .replace(/<br/>/ig, " ") .replace(/'/ig, "'") .replace(/“/ig, "“") .replace(/”/ig, "”") .replace(/‘/ig, "‘") .replace(/’/ig, "’") .replace(/—/ig, "—"); _this.htmlStr = change; $('.sphase-type').html($.parseHTML(_this.htmlStr)); _this.hideContent(); }).catch(function (err) { console.log(err) }); }