|
@@ -15,6 +15,8 @@ const enableEntraceguard = domain.enableEntraceguard
|
|
const enableNBiot = domain.enableNBiot
|
|
const enableNBiot = domain.enableNBiot
|
|
const enableCustomerDevice = domain.enableCustomerDevice
|
|
const enableCustomerDevice = domain.enableCustomerDevice
|
|
const enableSosDevice = domain.enableSosDevice
|
|
const enableSosDevice = domain.enableSosDevice
|
|
|
|
+const enable485 = domain.enable485
|
|
|
|
+const enableLinux = domain.enableLinux
|
|
|
|
|
|
/**
|
|
/**
|
|
* constantRoutes
|
|
* constantRoutes
|
|
@@ -572,7 +574,8 @@ export const adminRoutes = [
|
|
path: 'linux_version',
|
|
path: 'linux_version',
|
|
component: () => import('@/views/ncs-linux-version/linuxVersionSetting'),
|
|
component: () => import('@/views/ncs-linux-version/linuxVersionSetting'),
|
|
name: 'admin-linux-version',
|
|
name: 'admin-linux-version',
|
|
- meta: { title: i18n.t('tab.linuxVersion'), icon: 'nested', noCache: true }
|
|
|
|
|
|
+ meta: { title: i18n.t('tab.linuxVersion'), icon: 'nested', noCache: true },
|
|
|
|
+ hidden: !enableLinux
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: 'led_device',
|
|
path: 'led_device',
|
|
@@ -719,7 +722,8 @@ export const adminRoutes = [
|
|
name: 'admin-485-commissioning',
|
|
name: 'admin-485-commissioning',
|
|
meta: { title: i18n.t('tab.debugging485'), icon: 'authen', noCache: true }
|
|
meta: { title: i18n.t('tab.debugging485'), icon: 'authen', noCache: true }
|
|
}
|
|
}
|
|
- ]
|
|
|
|
|
|
+ ],
|
|
|
|
+ hidden: !enable485
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/interaction_push',
|
|
path: '/interaction_push',
|