doway-coms 1.7.7 → 1.7.9

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": "1.7.7",
3
+ "version": "1.7.9",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -263,6 +263,7 @@
263
263
  :localDataSource="scope.column.params.localDataSource"
264
264
  :isMultiSelect="scope.column.params.isMultiSelect"
265
265
  :defaultExpression="scope.column.params.defaultExpression"
266
+ :contrasts="scope.column.params.contrasts"
266
267
  :columns="scope.column.params.columns"
267
268
  :pageSize="scope.column.params.pageSize"
268
269
  :optBtns="scope.column.params.optBtns"
@@ -900,7 +900,7 @@ export default {
900
900
  })
901
901
  }
902
902
  // 若当前表格内只有一行,则不进行判断
903
- if (vm.propTableData.length == 1) {
903
+ if (vm.propTableData.length == 1 && !this.contrasts.length) {
904
904
  return
905
905
  }
906
906
  // 设置字段sysRepeat后,所定字段的值全部相同则不可选择