From 16ab0f85ad806b0681e27ac07b6191862f95612d Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Thu, 27 Jul 2023 11:52:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=A0=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../knowledge/knowledge/components/archivestype.vue | 12 ++++++++---- src/views/knowledge/knowledge/index.vue | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/views/knowledge/knowledge/components/archivestype.vue b/src/views/knowledge/knowledge/components/archivestype.vue index 846308d5b..f99b663e2 100644 --- a/src/views/knowledge/knowledge/components/archivestype.vue +++ b/src/views/knowledge/knowledge/components/archivestype.vue @@ -114,7 +114,10 @@ watch(() => [props.fatherisReady, props.liContent,props.routerUrl], (newVal, old tuijianPage.value = data.list pageParamTuijian.page = data.pageNum pageParamTuijian.total = data.total - // console.log(tuijianPage.value) + if(pageParamTuijian.total>0){ + showCards.value = 1; + } + }); }) @@ -161,7 +164,7 @@ function handleCurrentChange() { } - +const showCards = ref(0) @@ -174,7 +177,8 @@ function handleCurrentChange() {

{{ props.liContent?.atTitle }}

-
+
暂无数据
+
@@ -205,7 +209,7 @@ function handleCurrentChange() {