Skip to content
This repository has been archived by the owner on Feb 24, 2018. It is now read-only.

Commit

Permalink
完善readme格式
Browse files Browse the repository at this point in the history
  • Loading branch information
konanzheng committed Jan 15, 2018
1 parent 097bcac commit 02d5b4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This extension for NetBeans adds snippets for Element for Vue.
跟其他代码模板一样输入部分代码然后提示

<h3>标签</h3>

0. **row** : `<el-row></el-row>`
1. **col** : `<el-col></el-col>`
2. **color** : `<color></color>`
Expand Down Expand Up @@ -64,6 +65,7 @@ This extension for NetBeans adds snippets for Element for Vue.
52. **coll** : `<el-collapse><el-collapse-item></el-collapse-item></el-collapse>`

<h3>方法</h3>

1. **msg** : `this.$message({ message: 'text',type: 'info'});`
2. **alert** : `this.$alert('content', 'title', {confirmButtonText: 'confirm',callback: action => {}});`
3. **confirm** : `this.$confirm('content', 'title', {confirmButtonText: 'confirm',cancelButtonText: 'cancel',type: 'warning',}).then(() => {, ,}).catch(() => {});`
Expand Down

0 comments on commit 02d5b4e

Please sign in to comment.