@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.
- package/components/ky-fetch.vue +5 -4
- package/components/ky-pop.vue +3 -1
- package/package.json +1 -1
package/components/ky-fetch.vue
CHANGED
|
@@ -197,10 +197,10 @@
|
|
|
197
197
|
delete params.size
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
if (this.noLoadmore) {
|
|
201
|
-
|
|
202
|
-
|
|
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
|
}
|
package/components/ky-pop.vue
CHANGED
|
@@ -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') {
|