表格按钮固定

This commit is contained in:
仲么了
2024-01-30 15:17:30 +08:00
parent a660ee86be
commit 1a970f3e84
4 changed files with 56 additions and 9 deletions

View File

@@ -54,7 +54,7 @@ const tableStore = new TableStore({
buttons: [
{
name: 'edit',
title: '编辑编辑',
title: '编辑',
type: 'primary',
icon: 'el-icon-EditPen',
render: 'basicButton',
@@ -64,7 +64,7 @@ const tableStore = new TableStore({
},
{
name: 'del',
title: '删除接口',
title: '删除',
type: 'danger',
icon: 'el-icon-Delete',
render: 'confirmButton',

View File

@@ -71,7 +71,7 @@ const tableStore = new TableStore({
{
title: '状态',
field: 'state',
width: '80',
width: '100',
render: 'tag',
custom: {
0: 'danger',
@@ -133,7 +133,7 @@ const tableStore = new TableStore({
{
name: 'edit',
title: '激活',
type: 'success',
type: 'primary',
icon: 'el-icon-Open',
render: 'basicButton',
disabled: row => {

View File

@@ -82,7 +82,7 @@ const tableStore = new TableStore({
{
name: 'edit',
title: '启用',
type: 'success',
type: 'primary',
icon: 'el-icon-Open',
render: 'basicButton',
disabled: row => {