@ddwl/ddwl-ui 1.4.5 → 1.4.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": "@ddwl/ddwl-ui",
3
- "version": "1.4.5",
3
+ "version": "1.4.7",
4
4
  "private": false,
5
5
  "main": "dist/index.common.js",
6
6
  "style": "dist/index.css",
@@ -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
  })
@@ -256,7 +257,10 @@ export default {
256
257
  const defaultParams =
257
258
  typeof this.requestConfig.params === 'function'
258
259
  ? this.requestConfig.params(this.form)
259
- : this.requestConfig.params
260
+ : {
261
+ ...this.form,
262
+ ...this.requestConfig.params
263
+ }
260
264
  params = {
261
265
  ...params,
262
266
  ...defaultParams