Commit 547d0e93 authored by jiangqihao's avatar jiangqihao

按钮禁用

parent 9850c21b
...@@ -19,25 +19,25 @@ const tableConfig = { ...@@ -19,25 +19,25 @@ const tableConfig = {
Detail: { Detail: {
label: '地址详细信息' label: '地址详细信息'
}, },
handle: { // handle: {
label: '操作', // label: '操作',
hideInFilter: true, // hideInFilter: true,
fixed: 'right', // fixed: 'right',
renderItem: (h, scope, listeners) => { // renderItem: (h, scope, listeners) => {
return h( // return h(
'el-button', // 'el-button',
{ // {
on: { // on: {
click: (e) => listeners.handleEdit(scope.row, scope.$index) // click: (e) => listeners.handleEdit(scope.row, scope.$index)
}, // },
class: 'el-icon-edit', // class: 'el-icon-edit',
props: { // props: {
type: 'text' // type: 'text'
} // }
}, // },
'编辑') // '编辑')
} // }
} // }
} }
} }
......
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