From f0beb464c1fd4cf1c6481f86610a6a130b93ead4 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Wed, 10 Jan 2024 21:30:14 +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