doway-coms 2.5.5 → 2.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "2.5.5",
3
+ "version": "2.5.7",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -233,6 +233,7 @@
233
233
  <template #select_edit="scope">
234
234
  <div class="interceptor-class">
235
235
  <a-select
236
+ :allowClear="scope.column.params.allowClear"
236
237
  v-model="scope.row[scope.column.property]"
237
238
  @change="cellValueChange(scope)"
238
239
  size="small"
@@ -556,7 +556,7 @@ export function getExportParams(columns) {
556
556
  }
557
557
  return tempParams
558
558
  }
559
- export function setFormButtons(toolBtns,statusBtns,permissionBtns){
559
+ export function setFormButtons(toolBtns,statusBtns,permissionBtns,tabs){
560
560
  // 将获取的数据进行排序
561
561
  let tempSortArr = permissionBtns.sort(function(a,b){
562
562
  a.sort = a.sort?a.sort:1
@@ -588,6 +588,9 @@ export function setFormButtons(toolBtns,statusBtns,permissionBtns){
588
588
  case 'status':
589
589
  statusBtns.push(pushBtn)
590
590
  break
591
+ case 'tab':
592
+ tabs.push(pushBtn)
593
+ break
591
594
  }
592
595
  })
593
596
  }