From 552004d0902687de16cd50e3378d4d6671d7f015 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Mon, 21 Feb 2022 18:46:36 +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