...
|
...
|
@@ -242,7 +242,7 @@ export default { |
|
|
pageVisibileEvent() {
|
|
|
if (this.articleOnEdit) {
|
|
|
this.articleOnEdit = false;
|
|
|
this.syncServiceArticleDetail();
|
|
|
this.syncServiceArticleDetail(true);
|
|
|
}
|
|
|
},
|
|
|
loadPreData(articleId) {
|
...
|
...
|
@@ -264,7 +264,7 @@ export default { |
|
|
this.scrolling = false;
|
|
|
}, 200);
|
|
|
},
|
|
|
syncServiceArticleDetail() {
|
|
|
syncServiceArticleDetail(withoutList) {
|
|
|
const articleId = parseInt(this.id, 10);
|
|
|
|
|
|
return this.fetchArticleList({
|
...
|
...
|
@@ -272,7 +272,7 @@ export default { |
|
|
fromPlatform: this.previewPage ? 'Y' : 'N',
|
|
|
singleDetail: 'Y'
|
|
|
}).then((res) => {
|
|
|
if (this.$refs.scroll) {
|
|
|
if (this.$refs.scroll && !withoutList) {
|
|
|
this.listTitle = '';
|
|
|
this.fetching = false;
|
|
|
this.$refs.scroll.init();
|
...
|
...
|
|