beeshell icon indicating copy to clipboard operation
beeshell copied to clipboard

BottomModal中uesRef拿到的ref没有open事件

Open HoikanChan opened this issue 4 years ago • 3 comments

使用useRef const pickerRef = useRef(null) <BottomModal ref={pickerRef} title='自定义选项' cancelable={true} />

image 请问hook方式怎么打开modal

HoikanChan avatar Mar 16 '20 10:03 HoikanChan

pickerRef.current.open();

duanzjun avatar Apr 01 '20 07:04 duanzjun

依赖的 react 版本是 15

wxlworkhard avatar Apr 08 '20 06:04 wxlworkhard

这个问题怎么解决的

luchenqian avatar Sep 22 '21 06:09 luchenqian