style(docs): [dialog] format (#10147)

* style(docs): [dialog] format

* style(docs): [dialog] format
This commit is contained in:
Cully Fung
2022-10-19 22:07:48 +08:00
committed by GitHub
parent aafdafa555
commit 79982b8610
8 changed files with 58 additions and 56 deletions

View File

@ -1,5 +1,7 @@
<template>
<el-button text @click="outerVisible = true">open the outer Dialog</el-button>
<el-button text @click="outerVisible = true">
open the outer Dialog
</el-button>
<el-dialog v-model="outerVisible" title="Outer Dialog">
<template #default>
@ -13,9 +15,9 @@
<template #footer>
<div class="dialog-footer">
<el-button @click="outerVisible = false">Cancel</el-button>
<el-button type="primary" @click="innerVisible = true"
>open the inner Dialog</el-button
>
<el-button type="primary" @click="innerVisible = true">
open the inner Dialog
</el-button>
</div>
</template>
</el-dialog>