ios下AtModal,isOpened为false,会出现输入框



  •             <AtModal isOpened={smsWinState}>
                    <AtModalHeader>绑定手机</AtModalHeader>
                    <AtModalContent>
                        <AtInput
                            name='phoneNun'
                            type='phone'
                            placeholder='请输入手机号'
                            value={inputPhoneNum.toString()}
                            onChange={(num) => setInputPhoneNum(num)}>
                            <AtButton type='primary' size='small'>获取验证码</AtButton>
                        </AtInput>
                        <AtInput
                            name='phoneNun'
                            type='phone'
                            placeholder='验证码'
                            value={smsCode.toString()}
                            onChange={(num) => setSmsCode(num)}
                        />
                    </AtModalContent>
                    <AtModalAction> <Button onClick={() => setSmsWinState(false)}>取消</Button>
                        <Button onClick={() => setSmsWinState(false)}>确定</Button> </AtModalAction>
                </AtModal>
    

    c24a224c-067d-4e7e-b8ec-50fbb74e58c2-image.png


登录后回复