@ddwl/ddwl-ui 1.4.6 → 1.4.8

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": "@ddwl/ddwl-ui",
3
- "version": "1.4.6",
3
+ "version": "1.4.8",
4
4
  "private": false,
5
5
  "main": "dist/index.common.js",
6
6
  "style": "dist/index.css",
@@ -168,7 +168,7 @@ export default {
168
168
  */
169
169
  async reset() {
170
170
  this.form = cloneDeep(this.initForm)
171
- const params = cloneDeep(this.form)
171
+ const params = cloneDeep(this.initForm)
172
172
  this.$emit('search', params)
173
173
  if (this.searchData) {
174
174
  this.resetLoading = true
@@ -242,6 +242,7 @@ export default {
242
242
  const { total, data } = await (this.requestConfig.method || this.getData)({
243
243
  pageSize: this.pageSize,
244
244
  pageNum: this.pageNum,
245
+ ...this.form,
245
246
  ...this.requestConfig.params,
246
247
  ...param
247
248
  })