diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index d1fbf6f9..95b101bc 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -13,11 +13,7 @@ <template v-if="column.key === 'action'"> <TableAction :actions="[ - { - icon: 'clarity:note-edit-line', - label: t('action.edit'), - onClick: handleEdit.bind(null, record) - }, + { icon: 'clarity:note-edit-line', label: t('action.edit'), onClick: handleEdit.bind(null, record) }, { icon: 'ant-design:delete-outlined', color: 'error', diff --git a/src/views/system/dict/DictData.vue b/src/views/system/dict/DictData.vue index b731abc8..fb84a72d 100644 --- a/src/views/system/dict/DictData.vue +++ b/src/views/system/dict/DictData.vue @@ -8,11 +8,7 @@ <template v-if="column.key === 'action'"> <TableAction :actions="[ - { - icon: 'clarity:note-edit-line', - label: t('action.edit'), - onClick: handleEdit.bind(null, record) - }, + { icon: 'clarity:note-edit-line', label: t('action.edit'), onClick: handleEdit.bind(null, record) }, { icon: 'ant-design:delete-outlined', color: 'error', diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue index bdaae302..0038672c 100644 --- a/src/views/system/dict/index.vue +++ b/src/views/system/dict/index.vue @@ -8,11 +8,7 @@ <template v-if="column.key === 'action'"> <TableAction :actions="[ - { - icon: 'clarity:note-edit-line', - label: t('action.edit'), - onClick: handleEdit.bind(null, record) - }, + { icon: 'clarity:note-edit-line', label: t('action.edit'), onClick: handleEdit.bind(null, record) }, { icon: 'ant-design:delete-outlined', color: 'error', diff --git a/src/views/system/errorCode/index.vue b/src/views/system/errorCode/index.vue index 40617e07..d33bf4f9 100644 --- a/src/views/system/errorCode/index.vue +++ b/src/views/system/errorCode/index.vue @@ -9,11 +9,7 @@ <template v-if="column.key === 'action'"> <TableAction :actions="[ - { - icon: 'clarity:note-edit-line', - label: t('action.edit'), - onClick: handleEdit.bind(null, record) - }, + { icon: 'clarity:note-edit-line', label: t('action.edit'), onClick: handleEdit.bind(null, record) }, { icon: 'ant-design:delete-outlined', color: 'error', diff --git a/src/views/system/mail/account/index.vue b/src/views/system/mail/account/index.vue index 0c8b7205..ce9d5036 100644 --- a/src/views/system/mail/account/index.vue +++ b/src/views/system/mail/account/index.vue @@ -8,11 +8,7 @@ <template v-if="column.key === 'action'"> <TableAction :actions="[ - { - icon: 'clarity:note-edit-line', - label: t('action.edit'), - onClick: handleEdit.bind(null, record) - }, + { icon: 'clarity:note-edit-line', label: t('action.edit'), onClick: handleEdit.bind(null, record) }, { icon: 'ant-design:delete-outlined', color: 'error', diff --git a/src/views/system/mail/template/index.vue b/src/views/system/mail/template/index.vue index 0a505bd2..b30ebbde 100644 --- a/src/views/system/mail/template/index.vue +++ b/src/views/system/mail/template/index.vue @@ -8,11 +8,7 @@ <template v-if="column.key === 'action'"> <TableAction :actions="[ - { - icon: 'clarity:note-edit-line', - label: t('action.edit'), - onClick: handleEdit.bind(null, record) - }, + { icon: 'clarity:note-edit-line', label: t('action.edit'), onClick: handleEdit.bind(null, record) }, { icon: 'ant-design:delete-outlined', color: 'error', diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue index abf2c996..9555e3e9 100644 --- a/src/views/system/menu/index.vue +++ b/src/views/system/menu/index.vue @@ -10,11 +10,7 @@ <template v-if="column.key === 'action'"> <TableAction :actions="[ - { - icon: 'clarity:note-edit-line', - label: t('action.edit'), - onClick: handleEdit.bind(null, record) - }, + { icon: 'clarity:note-edit-line', label: t('action.edit'), onClick: handleEdit.bind(null, record) }, { icon: 'ant-design:delete-outlined', color: 'error', diff --git a/src/views/system/notice/index.vue b/src/views/system/notice/index.vue index 4d9bf742..c9dcb160 100644 --- a/src/views/system/notice/index.vue +++ b/src/views/system/notice/index.vue @@ -8,11 +8,7 @@ <template v-if="column.key === 'action'"> <TableAction :actions="[ - { - icon: 'clarity:note-edit-line', - label: t('action.edit'), - onClick: handleEdit.bind(null, record) - }, + { icon: 'clarity:note-edit-line', label: t('action.edit'), onClick: handleEdit.bind(null, record) }, { icon: 'ant-design:delete-outlined', color: 'error', diff --git a/src/views/system/oauth2/client/index.vue b/src/views/system/oauth2/client/index.vue index c11e1290..42fa4113 100644 --- a/src/views/system/oauth2/client/index.vue +++ b/src/views/system/oauth2/client/index.vue @@ -8,11 +8,7 @@ <template v-if="column.key === 'action'"> <TableAction :actions="[ - { - icon: 'clarity:note-edit-line', - label: t('action.edit'), - onClick: handleEdit.bind(null, record) - }, + { icon: 'clarity:note-edit-line', label: t('action.edit'), onClick: handleEdit.bind(null, record) }, { icon: 'ant-design:delete-outlined', color: 'error', diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue index c2a4bf4d..232cc53f 100644 --- a/src/views/system/post/index.vue +++ b/src/views/system/post/index.vue @@ -9,11 +9,7 @@ <template v-if="column.key === 'action'"> <TableAction :actions="[ - { - icon: 'clarity:note-edit-line', - label: t('action.edit'), - onClick: handleEdit.bind(null, record) - }, + { icon: 'clarity:note-edit-line', label: t('action.edit'), onClick: handleEdit.bind(null, record) }, { icon: 'ant-design:delete-outlined', color: 'error', diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index 1947c408..6d332d74 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -8,24 +8,10 @@ <template #bodyCell="{ column, record }"> <template v-if="column.key === 'action'"> <TableAction - :actions="[ - { - icon: 'clarity:note-edit-line', - label: t('action.edit'), - onClick: handleEdit.bind(null, record) - } - ]" + :actions="[{ icon: 'clarity:note-edit-line', label: t('action.edit'), onClick: handleEdit.bind(null, record) }]" :dropDownActions="[ - { - icon: 'clarity:note-edit-line', - label: '菜单权限', - onClick: handleEdit.bind(null, record) - }, - { - icon: 'clarity:note-edit-line', - label: '数据权限', - onClick: handleEdit.bind(null, record) - }, + { icon: 'clarity:note-edit-line', label: '菜单权限', onClick: handleEdit.bind(null, record) }, + { icon: 'clarity:note-edit-line', label: '数据权限', onClick: handleEdit.bind(null, record) }, { icon: 'ant-design:delete-outlined', color: 'error', diff --git a/src/views/system/sensitiveWord/index.vue b/src/views/system/sensitiveWord/index.vue index 40c8f7a4..2f6d7468 100644 --- a/src/views/system/sensitiveWord/index.vue +++ b/src/views/system/sensitiveWord/index.vue @@ -9,11 +9,7 @@ <template v-if="column.key === 'action'"> <TableAction :actions="[ - { - icon: 'clarity:note-edit-line', - label: t('action.edit'), - onClick: handleEdit.bind(null, record) - }, + { icon: 'clarity:note-edit-line', label: t('action.edit'), onClick: handleEdit.bind(null, record) }, { icon: 'ant-design:delete-outlined', color: 'error', diff --git a/src/views/system/sms/smsTemplate.vue b/src/views/system/sms/smsTemplate.vue index 123327a0..a242ed9b 100644 --- a/src/views/system/sms/smsTemplate.vue +++ b/src/views/system/sms/smsTemplate.vue @@ -9,16 +9,8 @@ <template v-if="column.key === 'action'"> <TableAction :actions="[ - { - icon: 'clarity:note-edit-line', - label: t('action.test'), - onClick: handleSendSms.bind(null, record) - }, - { - icon: 'clarity:note-edit-line', - label: t('action.edit'), - onClick: handleEdit.bind(null, record) - }, + { icon: 'clarity:note-edit-line', label: t('action.test'), onClick: handleSendSms.bind(null, record) }, + { icon: 'clarity:note-edit-line', label: t('action.edit'), onClick: handleEdit.bind(null, record) }, { icon: 'ant-design:delete-outlined', color: 'error', diff --git a/src/views/system/tenant/index.vue b/src/views/system/tenant/index.vue index 97a04634..9ed68188 100644 --- a/src/views/system/tenant/index.vue +++ b/src/views/system/tenant/index.vue @@ -9,11 +9,7 @@ <template v-if="column.key === 'action'"> <TableAction :actions="[ - { - icon: 'clarity:note-edit-line', - label: t('action.edit'), - onClick: handleEdit.bind(null, record) - }, + { icon: 'clarity:note-edit-line', label: t('action.edit'), onClick: handleEdit.bind(null, record) }, { icon: 'ant-design:delete-outlined', color: 'error', diff --git a/src/views/system/tenantPackage/index.vue b/src/views/system/tenantPackage/index.vue index 6625d29c..3c3e96de 100644 --- a/src/views/system/tenantPackage/index.vue +++ b/src/views/system/tenantPackage/index.vue @@ -8,11 +8,7 @@ <template v-if="column.key === 'action'"> <TableAction :actions="[ - { - icon: 'clarity:note-edit-line', - label: t('action.edit'), - onClick: handleEdit.bind(null, record) - }, + { icon: 'clarity:note-edit-line', label: t('action.edit'), onClick: handleEdit.bind(null, record) }, { icon: 'ant-design:delete-outlined', color: 'error', diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 27eea41e..c468b87e 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -10,11 +10,7 @@ <template v-if="column.key === 'action'"> <TableAction :actions="[ - { - icon: 'clarity:note-edit-line', - label: t('action.edit'), - onClick: handleEdit.bind(null, record) - }, + { icon: 'clarity:note-edit-line', label: t('action.edit'), onClick: handleEdit.bind(null, record) }, { icon: 'ant-design:delete-outlined', color: 'error',