Commit 11843891 authored by Jaime Alvarez's avatar Jaime Alvarez Committed by 杨奕

Dialog: Fix documentation error

'<el-button>'s for the Dialog component examples in the documentation
had repeated 'text' attributes.
parent 48054d12
...@@ -84,7 +84,7 @@ The content of Dialog can be anything, even a table or a form. This example show ...@@ -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 ...@@ -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">
...@@ -180,7 +180,7 @@ The content of Dialog can be anything, even a table or a form. This example show ...@@ -180,7 +180,7 @@ The content of Dialog can be anything, even a table or a form. This example show
| footer | content of the Dialog footer | | footer | content of the Dialog footer |
### Methods ### Methods
Each `el-dialog` instance has the following methods that can be used to open/close the instance without explicitly changing the value of `v-model`: Each `el-dialog` instance has the following methods that can be used to open/close the instance without explicitly changing the value of `v-model`:
| Method | Description | | Method | Description |
|------|--------| |------|--------|
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment