|
@@ -28,10 +28,7 @@
|
|
|
v-bind="$attrs"
|
|
|
v-on="tableEvents"
|
|
|
row-key="id"
|
|
|
- :tree-props="{
|
|
|
- children: 'children',
|
|
|
- hasChildren: 'hasChildren',
|
|
|
- }"
|
|
|
+ :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
|
|
|
:height="tableHeight"
|
|
|
:row-style="{ height: '35px' }"
|
|
|
header-row-class-name="tableHeader">
|
|
@@ -115,24 +112,11 @@ export default defineComponent({
|
|
|
type: Number,
|
|
|
required: false,
|
|
|
},
|
|
|
- searchConfig: {
|
|
|
- type: Object,
|
|
|
- default() {
|
|
|
- return {
|
|
|
- keyword: "",
|
|
|
- };
|
|
|
- },
|
|
|
- },
|
|
|
// 指定外层容器的渲染组件
|
|
|
containerTag: {
|
|
|
type: String,
|
|
|
default: "div",
|
|
|
},
|
|
|
- // 是否隐藏表头
|
|
|
- hideHeader: {
|
|
|
- type: Boolean,
|
|
|
- default: false,
|
|
|
- },
|
|
|
// 是否隐藏分页
|
|
|
hidePagination: {
|
|
|
type: Boolean,
|
|
@@ -170,13 +154,7 @@ export default defineComponent({
|
|
|
type: String,
|
|
|
default: "keyword",
|
|
|
},
|
|
|
- // 是否显示过滤的全部选项
|
|
|
- // isShowAll: {
|
|
|
- // type: Boolean,
|
|
|
- // default: true,
|
|
|
- // },
|
|
|
},
|
|
|
-
|
|
|
setup(props) {
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
const changeStatData = () => {
|