Commit 123f20d3 by luyt

add:gltablebutton文档调整

1 parent fd13739a
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
<!-- <content> -->
<GLTable ref="liveRoomRef" :tableParams="tableParams" :tableData="tableData">
<span class="table-btns" slot="auth-button" slot-scope="scope" :data="scope.scope">
<GLTable ref="liveRoomRef" :tableParams="tableParams" :tableData="tableData">
<span class="table-btns" slot="auth-button" slot-scope="scope" :data="scope.scope">
<!-- test 更多操作 -->
<GLTableButton :buttonList="buttonList" :buttonItem="scope" :buttonNum="3"></GLTableButton>
</span>
</GLTable>
<el-button type="warning" @click="toggleShow(1)">显示代码</el-button>
```js {mixin:true}
......@@ -128,7 +131,7 @@
}
},
{
type: 'GLButton',
type: 'el-button',
name: row => {
return '新增2'
},
......@@ -267,6 +270,7 @@
},
attrs: {
type: 'text',
// GLButton需要传递 fn
fn:'1-1-1-1'
},
listeners: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!