Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/packages/backtop/backtop.taro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ export const BackTop: FunctionComponent<

const [backTop, SetBackTop] = useState(false)
const [isTouchStart, setTouchStart] = useState(false)
const systemInfo = useRef<getSystemInfo.Result>({})

const systemInfo = useRef({})
useEffect(() => {
getSystemInfo().then((res) => {
systemInfo.current = res
Expand Down
1 change: 1 addition & 0 deletions src/packages/cell/cell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export interface CellProps extends BasicComponent {
radius: string | number
align: 'flex-start' | 'center' | 'flex-end'
clickable: boolean
isLast: boolean
onClick: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void
}

Expand Down
4 changes: 2 additions & 2 deletions src/packages/elevator/elevator.taro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ export const Elevator: FunctionComponent<
<View className={`${classPrefix}-bars`}>
<View
className={`${classPrefix}-bars-inner`}
onTouchStart={(event) => touchStart(event)}
onTouchMove={(event) => touchMove(event)}
onTouchStart={(event) => touchStart(event as any)}
onTouchMove={(event) => touchMove(event as any)}
onTouchEnd={touchEnd}
style={{ touchAction: 'pan-y' }}
>
Expand Down
2 changes: 1 addition & 1 deletion src/packages/fixednav/fixednav.taro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const FixedNav: FunctionComponent<
return (
<View
className={`${classPrefix}-list-item`}
onClick={(event) => handleClick(item, event)}
onClick={(event) => handleClick(item, event as any)}
key={item.id || index}
>
{React.isValidElement(item.icon) ? (
Expand Down