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 }}