feat:添加搜索框组件

This commit is contained in:
zhangyu
2021-04-21 11:39:16 +08:00
parent 897ca6c6bb
commit 3f32e87aee
4 changed files with 204 additions and 2 deletions

View File

@@ -22,6 +22,9 @@
<!-- 顶部分页组件当打开底部上滑框时出现 -->
<!-- <div v-if="layout.indexOf('pagination') > -1" class="pagination-top pagination-top-hide display-none"></div>-->
</div>
<div v-if="hasSearch" class="search-box">
<slot name="search"></slot>
</div>
<div v-show="bottomBox.mainResizeShow" class="nz-table2">
<slot v-bind:mainResizeShow="bottomBox.mainResizeShow"></slot>
</div>
@@ -88,6 +91,10 @@ export default {
tableId: {
type: String,
default: ''
},
hasSearch: {
type: Boolean,
default: false
}
},
data () {