From 729acc0d40415356ad91c6989eb5005fe61ee388 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期五, 04 八月 2023 11:11:49 +0800 Subject: [PATCH] 主题库切换无数据分类上表下表一致-主题库添加修改默认英文名以及查询后不清空 --- Source/UBCS-WEB/src/components/basic-container/main.vue | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/Source/UBCS-WEB/src/components/basic-container/main.vue b/Source/UBCS-WEB/src/components/basic-container/main.vue index cbe7b61..60b30f3 100644 --- a/Source/UBCS-WEB/src/components/basic-container/main.vue +++ b/Source/UBCS-WEB/src/components/basic-container/main.vue @@ -3,6 +3,9 @@ :style="styleName" :class="{'basic-container--block':block}"> <el-card class="basic-container__card"> + <div slot="header" v-if="title" class="clearfix"> + <span>{{title}}</span> + </div> <slot></slot> </el-card> </div> @@ -22,6 +25,9 @@ block: { type: Boolean, default: false + }, + title:{ + type: String } }, computed: { -- Gitblit v1.9.3