Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
2c339bbf
Commit
2c339bbf
authored
Oct 29, 2016
by
baiyaaaaa
Committed by
GitHub
Oct 29, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #715 from Leopoldthecoder/dialog-doc
Dialog: update doc
parents
1c96528d
7df39fc6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
examples/docs/zh-cn/dialog.md
examples/docs/zh-cn/dialog.md
+4
-4
No files found.
examples/docs/zh-cn/dialog.md
View file @
2c339bbf
...
...
@@ -95,7 +95,7 @@ Dialog 组件的内容可以是任意的,甚至可以是表格或表单,下
:::demo
```
html
<!-- Table -->
<el-button
type=
"text"
@
click.native=
"dialogTableVisible = true"
type=
"text"
>
打开嵌套表格的 Dialog
</el-button>
<el-button
type=
"text"
@
click.native=
"dialogTableVisible = true"
>
打开嵌套表格的 Dialog
</el-button>
<el-dialog
title=
"收货地址"
v-model=
"dialogTableVisible"
>
<el-table
:data=
"gridData"
>
...
...
@@ -106,7 +106,7 @@ Dialog 组件的内容可以是任意的,甚至可以是表格或表单,下
</el-dialog>
<!-- Form -->
<el-button
type=
"text"
@
click.native=
"dialogFormVisible = true"
type=
"text"
>
打开嵌套表单的 Dialog
</el-button>
<el-button
type=
"text"
@
click.native=
"dialogFormVisible = true"
>
打开嵌套表单的 Dialog
</el-button>
<el-dialog
title=
"收货地址"
v-model=
"dialogFormVisible"
>
<el-form
:model=
"form"
>
...
...
@@ -120,10 +120,10 @@ Dialog 组件的内容可以是任意的,甚至可以是表格或表单,下
</el-select>
</el-form-item>
</el-form>
<
span
slot=
"footer"
class=
"dialog-footer"
>
<
div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click.native=
"dialogFormVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click.native=
"dialogFormVisible = false"
>
确 定
</el-button>
</
span
>
</
div
>
</el-dialog>
```
:::
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment