cl-picker-view 参数 itemHeight 在 ios 端默认为50
This commit is contained in:
@@ -85,7 +85,7 @@ const props = defineProps({
|
||||
// 选择器选项高度
|
||||
itemHeight: {
|
||||
type: Number,
|
||||
default: 42
|
||||
default: isAppIOS() ? 50 : 42
|
||||
},
|
||||
// 选择器高度
|
||||
height: {
|
||||
@@ -108,7 +108,7 @@ const headers = computed(() => {
|
||||
const maskStyle = computed(() => {
|
||||
if (isDark.value) {
|
||||
if (isAppIOS()) {
|
||||
return `background-color: rgba(0, 0, 0, 0);`
|
||||
return `background-color: rgba(0, 0, 0, 0);`;
|
||||
}
|
||||
|
||||
return `background-image: linear-gradient(
|
||||
|
||||
Reference in New Issue
Block a user