From e581891072a36f0d0f7f57246366ded965e2ab8a Mon Sep 17 00:00:00 2001
From: xiejun <xiejun@vci-tech.com>
Date: 星期四, 25 一月 2024 10:11:17 +0800
Subject: [PATCH] 获取集团分类根节点前端传null传入后端直接改为空字符串bug修复
---
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