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,7 +1,7 @@
<template>
<el-button text @click="centerDialogVisible = true"
>Click to open the Dialog</el-button
>
<el-button text @click="centerDialogVisible = true">
Click to open the Dialog
</el-button>
<el-dialog
v-model="centerDialogVisible"
@ -13,9 +13,9 @@
<template #footer>
<span class="dialog-footer">
<el-button @click="centerDialogVisible = false">Cancel</el-button>
<el-button type="primary" @click="centerDialogVisible = false"
>Confirm</el-button
>
<el-button type="primary" @click="centerDialogVisible = false">
Confirm
</el-button>
</span>
</template>
</el-dialog>