lxf před 1 rokem
rodič
revize
07764cd532
1 změnil soubory, kde provedl 1 přidání a 23 odebrání
  1. 1 23
      src/components/byTable/index.vue

+ 1 - 23
src/components/byTable/index.vue

@@ -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 = () => {