From 34223b096cf6ad9d92c3702bb9529e764f523b11 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Wed, 02 Mar 2022 21:44:40 +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