@kaiyinchem/ky-uniui 1.1.2 → 1.1.4

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.
@@ -197,6 +197,11 @@
197
197
  delete params.size
198
198
  }
199
199
 
200
+ if (this.noLoadmore) {
201
+ delete params.page
202
+ delete params.size
203
+ }
204
+
200
205
  try {
201
206
  const apiUrl = this.api.split('.')
202
207
  const res = await this.$api[apiUrl[0]][apiUrl[1]](params)
@@ -256,7 +261,7 @@
256
261
  if (e.code === 504) {
257
262
  this.loadState = -3
258
263
  }
259
- this.tips = e.msg || this.$t('loadFaild')
264
+ this.tips = e.msg || e.errMsg || this.$t('loadFaild')
260
265
  this.msg = this.tips
261
266
  this.loadError = true
262
267
  this.$emit('error', e)
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "locale"
10
10
  ],
11
11
  "description": "an uniapp ui",
12
- "version": "1.1.2",
12
+ "version": "1.1.4",
13
13
  "repository": {
14
14
  "type": "git",
15
15
  "url": "git+https://github.com/yezipi/ky-uniui.git"