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 | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/components/group/articleListScorll.vue b/src/components/group/articleListScorll.vue index d7d4aa5..0191c81 100644 --- a/src/components/group/articleListScorll.vue +++ b/src/components/group/articleListScorll.vue @@ -70,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