mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-25 14:25:23 +00:00
perf: 优化自定义资产列表不显示操作问题
This commit is contained in:
@@ -192,8 +192,8 @@ export default {
|
|||||||
can: ({ row }) =>
|
can: ({ row }) =>
|
||||||
this.$hasPerm('assets.test_assetconnectivity') &&
|
this.$hasPerm('assets.test_assetconnectivity') &&
|
||||||
!this.$store.getters.currentOrgIsRoot &&
|
!this.$store.getters.currentOrgIsRoot &&
|
||||||
row['auto_config'].ansible_enabled &&
|
row?.auto_config?.ansible_enabled &&
|
||||||
row['auto_config'].ping_enabled,
|
row?.auto_config?.ping_enabled,
|
||||||
callback: ({ row }) => {
|
callback: ({ row }) => {
|
||||||
if (row.platform.name === 'Gateway') {
|
if (row.platform.name === 'Gateway') {
|
||||||
this.GatewayVisible = true
|
this.GatewayVisible = true
|
||||||
|
Reference in New Issue
Block a user