From 9c7fd1b69c13855d8cce3fce5d6d1bb918bd4ea4 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Fri, 13 Jan 2023 17:58:00 +0800 Subject: [PATCH] fix --- src/mixins/page/index.js | 4 ++++ src/pages/about/index.vue | 26 +++++++++++++------------- src/pages/application/index.vue | 8 ++++---- src/pages/careers/index.vue | 14 +++++++------- src/pages/edu/index.vue | 11 +++++++---- src/pages/exp/index.vue | 2 +- src/pages/home/index.vue | 10 +++++----- src/pages/news/index.vue | 6 +++--- src/pages/newsPress/index.vue | 6 +++--- src/pages/newsProcurement/index.vue | 6 +++--- src/pages/research/index.vue | 8 ++++---- src/pages/science/index.vue | 8 ++++---- src/pages/sfel/index.vue | 2 +- src/pages/survey/index.vue | 2 +- src/pages/talent/index.vue | 6 +++--- src/pages/userSharing/index.vue | 2 +- 16 files changed, 64 insertions(+), 57 deletions(-) diff --git a/src/mixins/page/index.js b/src/mixins/page/index.js index a8c7099..a326f28 100644 --- a/src/mixins/page/index.js +++ b/src/mixins/page/index.js @@ -94,6 +94,10 @@ export default { // 关联栏目的查看全部跳转 toAll(form) { this.$router.push(`/column?id=${form.column[form.column.length - 1]}&siteId=${form.site}`) + }, + // 判断是否有添加链接 + isLink(linkName) { + return linkName !== '无' && linkName !== '' } } }; \ No newline at end of file diff --git a/src/pages/about/index.vue b/src/pages/about/index.vue index cb30a8c..d13636c 100644 --- a/src/pages/about/index.vue +++ b/src/pages/about/index.vue @@ -3,7 +3,7 @@ @@ -119,17 +119,17 @@

{{ modules[17].form.title }}

{{ modules[17].form.des }}