Dialog: Fix documentation error

'<el-button>'s for the Dialog component examples in the documentation
had repeated 'text' attributes.
pull/4039/head
Jaime Alvarez 2017-04-05 06:31:07 +00:00 committed by 杨奕
parent 48054d12a5
commit 11843891ca
1 changed files with 3 additions and 3 deletions

View File

@ -84,7 +84,7 @@ The content of Dialog can be anything, even a table or a form. This example show
```html ```html
<!-- Table --> <!-- Table -->
<el-button type="text" @click="dialogTableVisible = true" type="text">open a Table nested Dialog</el-button> <el-button type="text" @click="dialogTableVisible = true">open a Table nested Dialog</el-button>
<el-dialog title="Shipping address" v-model="dialogTableVisible"> <el-dialog title="Shipping address" v-model="dialogTableVisible">
<el-table :data="gridData"> <el-table :data="gridData">
@ -95,7 +95,7 @@ The content of Dialog can be anything, even a table or a form. This example show
</el-dialog> </el-dialog>
<!-- Form --> <!-- Form -->
<el-button type="text" @click="dialogFormVisible = true" type="text">open a Form nested Dialog</el-button> <el-button type="text" @click="dialogFormVisible = true">open a Form nested Dialog</el-button>
<el-dialog title="Shipping address" v-model="dialogFormVisible"> <el-dialog title="Shipping address" v-model="dialogFormVisible">
<el-form :model="form"> <el-form :model="form">