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 { } } -