按钮转换成文字类型
This commit is contained in:
@@ -101,7 +101,7 @@ const tableStore = new TableStore({
|
||||
title: '编辑',
|
||||
type: 'primary',
|
||||
icon: 'el-icon-EditPen',
|
||||
render: 'tipButton',
|
||||
render: 'basicButton',
|
||||
disabled: row => {
|
||||
return row.state !== 1
|
||||
},
|
||||
@@ -114,7 +114,7 @@ const tableStore = new TableStore({
|
||||
title: '修改密码',
|
||||
type: 'primary',
|
||||
icon: 'el-icon-Lock',
|
||||
render: 'tipButton',
|
||||
render: 'basicButton',
|
||||
disabled: row => {
|
||||
return row.state !== 1
|
||||
},
|
||||
@@ -135,7 +135,7 @@ const tableStore = new TableStore({
|
||||
title: '激活',
|
||||
type: 'success',
|
||||
icon: 'el-icon-Open',
|
||||
render: 'tipButton',
|
||||
render: 'basicButton',
|
||||
disabled: row => {
|
||||
return row.state !== 2 && row.state !== 5 && row.state !== 0 && row.state !== 4
|
||||
},
|
||||
@@ -153,7 +153,7 @@ const tableStore = new TableStore({
|
||||
title: '注销',
|
||||
type: 'danger',
|
||||
icon: 'el-icon-SwitchButton',
|
||||
render: 'tipButton',
|
||||
render: 'basicButton',
|
||||
disabled: row => {
|
||||
return row.state !== 1 && row.state !== 3
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user