这行代码为什么不显示呢
MARIOMARUI opened this issue · 1 comments
MARIOMARUI commented
async componentDidMount() {
let overlayView = (
<Overlay.View
style={{ alignItems: "center", justifyContent: "center" }}
modal={true}
overlayOpacity={0}
ref={(v) => (this.overlayView = v)}
>
<View
style={{
backgroundColor: "#333",
padding: 40,
borderRadius: 15,
alignItems: "center",
}}
>
2222222222222
</Overlay.View>
);
Overlay.show(overlayView);
zsswlr commented
你逻辑show写这里 你view写这里干什么
发自我的iPhone
… 在 2021年9月19日,上午2:20,MARIOMARUI ***@***.***> 写道:
async componentDidMount() {
let overlayView = (
<Overlay.View
style={{ alignItems: "center", justifyContent: "center" }}
modal={true}
overlayOpacity={0}
ref={(v) => (this.overlayView = v)}
>
<View
style={{
backgroundColor: "#333",
padding: 40,
borderRadius: 15,
alignItems: "center",
}}
>
2222222222222
</Overlay.View>
);
Overlay.show(overlayView);
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.