From 124ca536917b5eebe059bb98745f6743c52a6836 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Tue, 23 Aug 2022 18:47:32 +0800 Subject: [PATCH] 优化归档年份数据获取 --- _web/src/views/main/blogarticle/index.vue | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/_web/src/views/main/blogarticle/index.vue b/_web/src/views/main/blogarticle/index.vue index 7afb31d..6aa4daa 100644 --- a/_web/src/views/main/blogarticle/index.vue +++ b/_web/src/views/main/blogarticle/index.vue @@ -100,11 +100,17 @@ <span slot="isTopScopedSlots" slot-scope="text"> {{ 'blog_yes_or_no' | dictType(text) }} </span> + <span slot="isTopScopedSlots" slot-scope="text"> + {{ 'blog_yes_or_no' | dictType(text) }} + </span> <span slot="authStatusScopedSlots" slot-scope="text"> {{ 'blog_auth_status' | dictType(text) }} </span> <span slot="editorStatusScopedSlots" slot-scope="text"> {{ 'blog_editor_status' | dictType(text) }} + </span> + <span slot="isEnableScopedSlots" slot-scope="text"> + {{ 'blog_yes_or_no' | dictType(text) }} </span> <span slot="action" slot-scope="text, record"> <a v-if="hasPerm('blogArticle:edit')" @click="$refs.editForm.edit(record)">编辑</a> @@ -199,7 +205,8 @@ { title: '是否启用', align: 'center', - dataIndex: 'isEnable' + dataIndex: 'isEnable', + scopedSlots: { customRender: 'isEnableScopedSlots' } }, { title: '创建时间', -- Gitblit v1.9.1