diff --git a/examples/docs/dialog.md b/examples/docs/dialog.md index 8f5765797..5ac5cb9c3 100644 --- a/examples/docs/dialog.md +++ b/examples/docs/dialog.md @@ -160,7 +160,7 @@ Dialog 组件的正文标题可以是任意的,甚至可以是表格或表单 打开嵌套表单的 Dialog - + diff --git a/examples/docs/icon.md b/examples/docs/icon.md index 58938066b..e1d73164c 100644 --- a/examples/docs/icon.md +++ b/examples/docs/icon.md @@ -58,7 +58,7 @@ 提供了一套常用的图标集合。 -## 使用方法 +### 使用方法 直接通过设置类名为`el-icon-iconName`来使用即可。 @@ -72,7 +72,7 @@ ``` ::: -## 图标集合 +### 图标集合 下面是目前 Element 所有的图标集合: diff --git a/packages/table/src/table-body.js b/packages/table/src/table-body.js index fffc358b8..7bf5ffd3d 100644 --- a/packages/table/src/table-body.js +++ b/packages/table/src/table-body.js @@ -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 }) :
{ this.$getPropertyText(row, column.property, column.id) }
} diff --git a/packages/theme-default/src/pagination.css b/packages/theme-default/src/pagination.css index e724f94c7..2e3442050 100644 --- a/packages/theme-default/src/pagination.css +++ b/packages/theme-default/src/pagination.css @@ -20,6 +20,10 @@ box-sizing: border-box; } + .el-select .el-input { + width: 100px; + } + button { border: none; padding: 0 6px;