@kaiyinchem/ky-uniui 1.1.14 → 1.1.16
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-head.vue
CHANGED
package/components/ky-picker.vue
CHANGED
|
@@ -96,9 +96,9 @@
|
|
|
96
96
|
const currVal = this.list[index]
|
|
97
97
|
this.checked = this.ids[index]
|
|
98
98
|
const valProps = this.setVal(this.value)
|
|
99
|
-
if (valProps === this.checked) {
|
|
100
|
-
|
|
101
|
-
}
|
|
99
|
+
// if (valProps === this.checked) {
|
|
100
|
+
// return
|
|
101
|
+
// }
|
|
102
102
|
this.index = index
|
|
103
103
|
currVal.index = index
|
|
104
104
|
this.$emit('update:value', this.checked)
|
package/components/ky-tab.vue
CHANGED
|
@@ -118,6 +118,9 @@
|
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
120
|
computed: {
|
|
121
|
+
hasIcon() {
|
|
122
|
+
return this.menu.find(e => e.icon)
|
|
123
|
+
},
|
|
121
124
|
$safeBottom() {
|
|
122
125
|
return uni.getSystemInfoSync().safeAreaInsets.bottom
|
|
123
126
|
}
|
|
@@ -127,7 +130,6 @@
|
|
|
127
130
|
},
|
|
128
131
|
methods: {
|
|
129
132
|
onTabClick(index) {
|
|
130
|
-
console.log('当前索引:', index)
|
|
131
133
|
if (this.disabled) {
|
|
132
134
|
return
|
|
133
135
|
}
|