From 10572998aa54d61c45df3e334eb01e44a15df729 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Wed, 10 Aug 2022 18:35:59 +0800 Subject: [PATCH] 常量提取,优化视频模块布局 --- src/components/group/articleListScorll.vue | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/components/group/articleListScorll.vue b/src/components/group/articleListScorll.vue index b59c978..0191c81 100644 --- a/src/components/group/articleListScorll.vue +++ b/src/components/group/articleListScorll.vue @@ -34,6 +34,8 @@ queryBlogArticleList } from '../../api/blogArticle.js' + + export default { components: { box5, @@ -68,6 +70,12 @@ typeId: function(newValue, oldValue) { this.busy = true; this.$message.info('loading', 0.3); + + //有条件不刷新 + if (newValue == undefined && oldValue != "") { + return + } + this.onChange(1); }, }, -- Gitblit v1.9.1