mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-03 20:58:09 +08:00
Merge pull request #14 from Leopoldthecoder/master
minor doc updates/guarantee _self returns the right vm
This commit is contained in:
commit
da852f3293
@ -160,7 +160,7 @@ Dialog 组件的正文标题可以是任意的,甚至可以是表格或表单
|
||||
<el-button type="text" @click.native="dialogFormVisible = true" type="text">打开嵌套表单的 Dialog</el-button>
|
||||
|
||||
<el-dialog title="收货地址" v-model="dialogFormVisible">
|
||||
<el-form :models="form">
|
||||
<el-form :model="form">
|
||||
<el-form-item label="活动名称" :label-width="formLabelWidth">
|
||||
<el-input v-model="form.name" auto-complete="off"></el-input>
|
||||
</el-form-item>
|
||||
|
@ -58,7 +58,7 @@
|
||||
|
||||
提供了一套常用的图标集合。
|
||||
|
||||
## 使用方法
|
||||
### 使用方法
|
||||
|
||||
直接通过设置类名为`el-icon-iconName`来使用即可。
|
||||
|
||||
@ -72,7 +72,7 @@
|
||||
```
|
||||
:::
|
||||
|
||||
## 图标集合
|
||||
### 图标集合
|
||||
|
||||
下面是目前 Element 所有的图标集合:
|
||||
|
||||
|
@ -57,7 +57,7 @@ export default {
|
||||
on-mouseleave={ this.handleCellMouseLeave }>
|
||||
{
|
||||
column.template
|
||||
? column.template.call(this._renderProxy, h, { row, column, $index, _self: this.$parent.$parent })
|
||||
? column.template.call(this._renderProxy, h, { row, column, $index, _self: this.$parent.$vnode.context })
|
||||
: <div class="cell">{ this.$getPropertyText(row, column.property, column.id) }</div>
|
||||
}
|
||||
</td>
|
||||
|
@ -20,6 +20,10 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.el-select .el-input {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
button {
|
||||
border: none;
|
||||
padding: 0 6px;
|
||||
|
Loading…
Reference in New Issue
Block a user