Authored by yyq

fix edit detail

@@ -242,7 +242,7 @@ export default { @@ -242,7 +242,7 @@ export default {
242 pageVisibileEvent() { 242 pageVisibileEvent() {
243 if (this.articleOnEdit) { 243 if (this.articleOnEdit) {
244 this.articleOnEdit = false; 244 this.articleOnEdit = false;
245 - this.syncServiceArticleDetail(); 245 + this.syncServiceArticleDetail(true);
246 } 246 }
247 }, 247 },
248 loadPreData(articleId) { 248 loadPreData(articleId) {
@@ -264,7 +264,7 @@ export default { @@ -264,7 +264,7 @@ export default {
264 this.scrolling = false; 264 this.scrolling = false;
265 }, 200); 265 }, 200);
266 }, 266 },
267 - syncServiceArticleDetail() { 267 + syncServiceArticleDetail(withoutList) {
268 const articleId = parseInt(this.id, 10); 268 const articleId = parseInt(this.id, 10);
269 269
270 return this.fetchArticleList({ 270 return this.fetchArticleList({
@@ -272,7 +272,7 @@ export default { @@ -272,7 +272,7 @@ export default {
272 fromPlatform: this.previewPage ? 'Y' : 'N', 272 fromPlatform: this.previewPage ? 'Y' : 'N',
273 singleDetail: 'Y' 273 singleDetail: 'Y'
274 }).then((res) => { 274 }).then((res) => {
275 - if (this.$refs.scroll) { 275 + if (this.$refs.scroll && !withoutList) {
276 this.listTitle = ''; 276 this.listTitle = '';
277 this.fetching = false; 277 this.fetching = false;
278 this.$refs.scroll.init(); 278 this.$refs.scroll.init();
1 { 1 {
2 "name": "yoho-community-web", 2 "name": "yoho-community-web",
3 - "version": "6.9.5-beta3", 3 + "version": "6.9.5-beta4",
4 "private": true, 4 "private": true,
5 "description": "A New Yohobuy Project With Express", 5 "description": "A New Yohobuy Project With Express",
6 "repository": { 6 "repository": {