@kaiyinchem/ky-uniui 1.1.6 → 1.1.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.
@@ -197,10 +197,10 @@
197
197
  delete params.size
198
198
  }
199
199
 
200
- if (this.noLoadmore) {
201
- delete params.page
202
- delete params.size
203
- }
200
+ // if (this.noLoadmore) {
201
+ // delete params.page
202
+ // delete params.size
203
+ // }
204
204
 
205
205
  try {
206
206
  const apiUrl = this.api.split('.')
@@ -255,6 +255,7 @@
255
255
  }
256
256
 
257
257
  } catch(e) {
258
+ this.loadState = -3
258
259
  if (page === 1) {
259
260
  this.loadState = -2
260
261
  }
@@ -62,7 +62,7 @@
62
62
 
63
63
 
64
64
  <!--############## 输入框提示框 ##############-->
65
- <view v-if="type === 'input'" class="pop-content">
65
+ <view v-if="type === 'input'" class="pop-content white-bg">
66
66
  <view class="pop-input">
67
67
  <!--由于不支持动态设置type,只能这样了-->
68
68
  <input
@@ -363,6 +363,7 @@
363
363
  this.close()
364
364
  },
365
365
  confirm() {
366
+ console.log(this.inputVal)
366
367
  if (this.type === 'input' && this.inputVal === '') {
367
368
  this.$toast(this.$t('noContentTips'))
368
369
  return
@@ -374,6 +375,7 @@
374
375
  },
375
376
  getInputVal({ detail }) {
376
377
  this.$emit('input', detail.value)
378
+ this.inputVal = detail.value
377
379
  },
378
380
  onPopChange(e) {
379
381
  if (this.type !== 'input') {
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "locale"
10
10
  ],
11
11
  "description": "an uniapp ui",
12
- "version": "1.1.6",
12
+ "version": "1.1.8",
13
13
  "repository": {
14
14
  "type": "git",
15
15
  "url": "git+https://github.com/yezipi/ky-uniui.git"