chenlei há 11 meses atrás
pai
commit
f407017184
3 ficheiros alterados com 9 adições e 4 exclusões
  1. 2 0
      packages/form/src/tool-form.js
  2. 5 4
      packages/list/src/main.vue
  3. 2 0
      readme.md

+ 2 - 0
packages/form/src/tool-form.js

@@ -27,6 +27,8 @@ export function submitQueryData(_this, paramType = true) {
     }
 
     _this.pageColumn.forEach(item => {
+        // 自定义类型不做处理 
+        if (item.stype === 'custom') return        
         let postValue = '',
             field = item.field,
             isCompares = true,

+ 5 - 4
packages/list/src/main.vue

@@ -60,6 +60,11 @@
     name: 'DxTableList',
     components: { NtRemoveForm, NtForm, emBtnListPro, searchFormPro, NtList },
     props: {
+      // 隐藏按钮区域
+      hideBtnRow:{
+        type: Boolean,
+        default:false
+      },
       listType: {
         type: Array | String,
         default: 'table'
@@ -229,10 +234,6 @@
       isMultiple: {
         type: Boolean,
         default: false
-      },
-      showHead: {
-        type: Boolean,
-        default: true
       }
     },
     provide() {

+ 2 - 0
readme.md

@@ -2,6 +2,8 @@
 1.02
   增加功能:
   1.增加selection-change事件
+  2.去掉参数showHead,使用hideBtnRow
+
   修改文件:
   list\src\main.vue