When iview clicks the tab in the modal box to open another modal box, the original modal box does not close.

topic description

clipboard.png

" ",

clipboard.png

the original registration box is not closed

sources of topics and their own ideas

the problems encountered in the project are still not clear after reading the official documents

related codes

/ / Please paste the code text below (do not replace the code with pictures)
< Modal

                                v-model="modal1"
                                title="">
                                <Input v-model="value" placeholder="" style="width: 300px;margin-bottom:10px;"></Input>
                                <Input v-model="value" type="password" placeholder="" style="width: 300px;margin-bottom:10px;"></Input>
                                <Button type="primary" style="margin-bottom:10px;"></Button>
                                <div style="text-align:right;">
                                    <a @click="modal3 = true" style="cursor:pointer"></a>
                                    <span style="display:inline-block;width:20px;"></span>
                                    <a @click="modal2 = true" style="cursor:pointer"></a>
                                </div>
                            </Modal>
                            <Modal
                                v-model="modal2"
                                title="">
                                <Input v-model="value" placeholder="" style="width: 300px;margin-bottom:10px;"></Input>
                                <span></span>
                                <Input v-model="value" type="password" placeholder="" style="width: 300px;margin-bottom:10px;"></Input>
                                <Input v-model="value" type="password" placeholder="" style="width: 300px"></Input>
                                <span>8-16,,</span><br>
                                <Checkbox v-model="single" style="margin-top:10px;"><a href=""></a><a href=""></a></Checkbox><br>
                                <Button type="primary" style="margin:10px;"></Button><br>
                                <a @click="modal4 = true" style="cursor:pointer"> </a>
                            </Modal>

what result do you expect? What is the error message actually seen?

I want to close the original dialog box while popping up the new dialog box

Apr.11,2021

the hidden variable that controls member registration is modal2
when you click on an existing account to log in immediately
set modal2 to false

Menu