perf: 优化图标不对齐的问题

This commit is contained in:
halo
2024-06-07 15:23:05 +08:00
committed by Bryan
parent 4cd0071054
commit 4eda83f83d
2 changed files with 2 additions and 2 deletions

View File

@@ -353,7 +353,7 @@ export default {
name: 'BulkVerify', name: 'BulkVerify',
title: this.$t('accounts.BulkVerify'), title: this.$t('accounts.BulkVerify'),
type: 'primary', type: 'primary',
fa: 'fa-handshake-o', fa: 'fa-link',
can: ({ selectedRows }) => { can: ({ selectedRows }) => {
return selectedRows.length > 0 && return selectedRows.length > 0 &&
['clickhouse', 'redis', 'website', 'chatgpt'].indexOf(selectedRows[0].asset.type.value) === -1 && ['clickhouse', 'redis', 'website', 'chatgpt'].indexOf(selectedRows[0].asset.type.value) === -1 &&

View File

@@ -226,7 +226,7 @@ export default {
name: 'BulkVerify', name: 'BulkVerify',
title: this.$t('common.BulkVerify'), title: this.$t('common.BulkVerify'),
type: 'primary', type: 'primary',
icon: 'fa fa-handshake-o', icon: 'fa fa-link',
can: ({ selectedRows }) => can: ({ selectedRows }) =>
this.$hasPerm('assets.test_assetconnectivity') && this.$hasPerm('assets.test_assetconnectivity') &&
!this.$store.getters.currentOrgIsRoot && !this.$store.getters.currentOrgIsRoot &&