mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-14 18:11:48 +08:00
style(docs): [dialog] format (#10147)
* style(docs): [dialog] format * style(docs): [dialog] format
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user