From a78c20ec5971ba659696f31f04300cf73614fc73 Mon Sep 17 00:00:00 2001
From: juzi <819872918@qq.com>
Date: Fri, 6 Jan 2023 11:08:41 +0800
Subject: [PATCH] =?UTF-8?q?table=E9=BB=98=E8=AE=A4border,css=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 2 +-
src/components/BaseDialog/index.vue | 56 +++++++-------
src/components/BaseTable/index.vue | 74 ++++++++++---------
.../BaseTable/subcomponents/InputArea.vue | 2 +-
src/components/Pagination/index.vue | 36 +++++----
src/components/SearchBar/SearchBar.vue | 44 ++++++-----
6 files changed, 105 insertions(+), 109 deletions(-)
diff --git a/package.json b/package.json
index 284c59a..f41ae59 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "code-brick-zj",
- "version": "0.0.4",
+ "version": "0.0.5",
"private": false,
"description": "组件封装",
"main": "index.js"
diff --git a/src/components/BaseDialog/index.vue b/src/components/BaseDialog/index.vue
index 3bdb684..ae68319 100644
--- a/src/components/BaseDialog/index.vue
+++ b/src/components/BaseDialog/index.vue
@@ -66,34 +66,32 @@ export default {
}
}
-
diff --git a/src/components/BaseTable/index.vue b/src/components/BaseTable/index.vue
index 2810178..030586d 100644
--- a/src/components/BaseTable/index.vue
+++ b/src/components/BaseTable/index.vue
@@ -4,6 +4,7 @@
:ref="id"
:data="renderData"
v-bind="$attrs"
+ :border="cancelBorder ? false : true"
@current-change="currentChange"
@selection-change="handleSelectionChange"
style="width: 100%"
@@ -116,6 +117,10 @@ export default {
}
},
props: {
+ cancelBorder: {
+ type: Boolean,
+ default: false
+ },
tableData: {
type: Array,
required: true,
@@ -204,45 +209,42 @@ export default {
}
}
-
-
-
diff --git a/src/components/SearchBar/SearchBar.vue b/src/components/SearchBar/SearchBar.vue
index 5a62ea3..c422afa 100644
--- a/src/components/SearchBar/SearchBar.vue
+++ b/src/components/SearchBar/SearchBar.vue
@@ -231,28 +231,26 @@ export default {
}
}
-