✨ feat:修改确认订单选择后无法渲染的问题,顶input框的高度问题

This commit is contained in:
Haiyi
2022-09-29 15:22:39 +08:00
parent 6b59d688db
commit 232d372796
19 changed files with 101 additions and 104 deletions
+5 -2
View File
@@ -23,7 +23,8 @@ type Params = {
customRightSlot?: ReactNode
adjustPosition?: boolean,
showScan?: boolean
handScan?: () => void
handScan?: () => void,
cursorSpacing?: Number
}
export default memo(
@@ -45,7 +46,8 @@ export default memo(
children,
customRightSlot,
showScan = false,
handScan
handScan,
cursorSpacing = 0
}: Params,
ref,
) => {
@@ -94,6 +96,7 @@ export default memo(
)}
<View className={styles.input_bar}>
<Input
cursorSpacing={cursorSpacing as any}
adjustPosition={adjustPosition}
placeholderStyle='color:#ABABAB; font-size:26rpx'
onConfirm={onSearch}