From 63af45eaa849552e4ea3ff0248c47bacb62cacdb Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Wed, 16 Feb 2022 18:28:19 +0800 Subject: [PATCH] 对接接口 --- src/components/mini/box4-minibox.vue | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/components/mini/box4-minibox.vue b/src/components/mini/box4-minibox.vue index 1e42eca..04ad7eb 100644 --- a/src/components/mini/box4-minibox.vue +++ b/src/components/mini/box4-minibox.vue @@ -2,9 +2,15 @@ <div class="blog-container "> <div> <span class="blog-right-side-portion-title " v-bind:class="{'title-remark':isShowRemark}"> - <router-link :to="link"> + + <span v-if="isShowLink"> + <router-link :to="link"> + {{title}} + </router-link> + </span> + <span v-else> {{title}} - </router-link> + </span> </span> </div> <div class="blog-scroll show-line "> @@ -24,11 +30,12 @@ export default { props: { link: { - default:"#" + default: "#" }, title: "", list: "", - isShowRemark: false + isShowRemark: false, + isShowLink: false }, data() { return { -- Gitblit v1.9.1