Commit e396db7c authored by 杨奕's avatar 杨奕 Committed by FuryBean

Table: update an example (#520)

parent b453ce11
...@@ -469,7 +469,7 @@ ...@@ -469,7 +469,7 @@
### 固定列 ### 固定列
横向内容过多时,可选择固定列。 横向内容过多时,可选择固定列。
:::demo 固定列需要使用`fixed`属性,它接受 Boolean 值或者`left` `right`,表示左边固定还是右边固定。 :::demo 固定列需要使用`fixed`属性,它接受 Boolean 值或者`left` `right`,表示左边固定还是右边固定。
```html ```html
...@@ -509,6 +509,13 @@ ...@@ -509,6 +509,13 @@
label="邮编" label="邮编"
width="120"> width="120">
</el-table-column> </el-table-column>
<el-table-column
inline-template
fixed="right"
label="操作"
width="80">
<el-button type="primary" size="small">编辑</el-button>
</el-table-column>
</el-table> </el-table>
</template> </template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment