@lambo-design/schema-paging-table 1.0.0-beta.7 → 1.0.0-beta.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/index.vue +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambo-design/schema-paging-table",
3
- "version": "1.0.0-beta.7",
3
+ "version": "1.0.0-beta.9",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "lambo",
@@ -12,7 +12,7 @@
12
12
  "devDependencies": {
13
13
  "@lambo-design/core": "^4.7.1-beta.103",
14
14
  "@lambo-design/schema-form": "^1.0.0-beta.25",
15
- "@lambo-design/shared": "^1.0.0-beta.93",
15
+ "@lambo-design/shared": "^1.0.0-beta.95",
16
16
  "@lambo-design/paging-table": "^1.0.0-beta.69"
17
17
  },
18
18
  "scripts": {}
package/src/index.vue CHANGED
@@ -18,6 +18,8 @@
18
18
  :form-type="'search'"
19
19
  :fieldList="formFields"
20
20
  :labelWidth="100"
21
+ :default-rows="2"
22
+ :grid-columns="4"
21
23
  :customComponents="customComponents"
22
24
  :customValidates="customValidates"
23
25
  @doSearch="doSearch" @reset="onReset"/>
@@ -231,6 +233,7 @@ export default {
231
233
  this.tableSearchParams = Object.assign({}, this.queryForm)
232
234
  },
233
235
  onReset() {
236
+ Object.assign(this.queryForm, this.$options.propsData.form)
234
237
  this.doSearch()
235
238
  },
236
239
  fetch: function (request,response) {