doway-coms 2.10.5 → 2.10.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.10.5",
3
+ "version": "2.10.7",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -19,7 +19,7 @@
19
19
  <VxeGrid
20
20
  ref="baseGrid"
21
21
  border
22
- :scroll-y="{ enabled: true,gt:0 }"
22
+ :scroll-y="scrollY"
23
23
  keep-source
24
24
  :loading="loading"
25
25
  auto-resize
@@ -1171,6 +1171,14 @@ export default {
1171
1171
  default:()=>{
1172
1172
  return false
1173
1173
  }
1174
+ },
1175
+ scrollY:{
1176
+ type:Object,
1177
+ default:()=>{
1178
+ return {
1179
+ enabled:true,gt:0
1180
+ }
1181
+ }
1174
1182
  }
1175
1183
  },
1176
1184
  beforeCreate() {
@@ -893,6 +893,7 @@ export default {
893
893
  let tempSearch = {
894
894
  value: this.currentValue,
895
895
  dataSource: [],
896
+ field: this.field,
896
897
  }
897
898
  this.$emit('preSearch', tempSearch)
898
899
  this.searchRows = []