Browse Source

Dialog: Fix documentation error

'<el-button>'s for the Dialog component examples in the documentation
had repeated 'text' attributes.
Jaime Alvarez 8 năm trước cách đây
mục cha
commit
11843891ca
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      examples/docs/en-US/dialog.md

+ 3 - 3
examples/docs/en-US/dialog.md

@@ -84,7 +84,7 @@ The content of Dialog can be anything, even a table or a form. This example show
 
 ```html
 <!-- 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-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>
 
 <!-- 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-form :model="form">
@@ -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 |
 
 ### 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 |
 |------|--------|