perf: 虚拟应用增加许可证验证

This commit is contained in:
Eric
2023-12-22 14:58:28 +08:00
committed by Bryan
parent ccb221559a
commit cfe6db6ec5

View File

@@ -39,14 +39,14 @@ export default {
title: this.$t('terminal.VirtualApp'),
name: 'VirtualApp',
hidden: () => {
return !store.getters.publicSettings['VIRTUAL_APP_ENABLED']
return !store.getters.publicSettings['VIRTUAL_APP_ENABLED'] || !this.$store.getters.hasValidLicense
}
},
{
title: this.$t('terminal.AppProvider'),
name: 'AppProvider',
hidden: () => {
return !store.getters.publicSettings['VIRTUAL_APP_ENABLED']
return !store.getters.publicSettings['VIRTUAL_APP_ENABLED'] || !this.$store.getters.hasValidLicense
}
}
]