iview combat: full-screen pop to the head to tail

 

<template>    
    <Button @click="modal3 = true" >No title bar</Button>
    <Modal v-model="modal3" footer-hide fullscreen>
        <p>Content of dialog</p>
        <p>Content of dialog</p>
        <p>Content of dialog</p>
    </Modal>
    
    
</template>
<script>
    export default {
        data () {
            return {
                modal2: false,
                modal_loading: false,
                modal3: false,
                modal4: false,
                modal5: false
            }
        },
        methods: {
            del () {
                this.modal_loading = true;
                setTimeout(() => {
                    this.modal_loading = false;
                    this.modal2 = false;
                    this.$Message.success('Successfully delete');
                }, 2000);
            }
        }
    }
</script>

the above.

Guess you like

Origin www.cnblogs.com/foxcharon/p/10974565.html