style: 快速开站多语言翻译
This commit is contained in:
@@ -18,30 +18,51 @@ export const stepState: StepStateType = reactive({
|
||||
setupNE: false,
|
||||
neSteps: [
|
||||
{
|
||||
title: '配置网元信息',
|
||||
description: '服务端与网元服务',
|
||||
title: '网元服务配置',
|
||||
description: '设置网元对应的服务终端',
|
||||
},
|
||||
{
|
||||
title: '网元公共参数',
|
||||
description: '全局公共参数配置',
|
||||
title: '网元全局参数',
|
||||
description: '设置网元基础配置信息',
|
||||
},
|
||||
{
|
||||
title: '网元软件安装',
|
||||
description: '软件安装到服务端',
|
||||
title: '网元服务安装',
|
||||
description: '将网元服务安装到服务终端',
|
||||
},
|
||||
{
|
||||
title: '网元授权激活',
|
||||
description: '网元服务授权激活',
|
||||
title: '网元许可授权',
|
||||
description: '获取网元许可激活码进行授权认证',
|
||||
},
|
||||
],
|
||||
neStepsCurrent: -1,
|
||||
});
|
||||
|
||||
/**步骤信息状态复位 */
|
||||
export function fnRestStepState() {
|
||||
export function fnRestStepState(t?: any) {
|
||||
stepState.stepName = 'Start';
|
||||
stepState.setupNE = false;
|
||||
stepState.neStepsCurrent = -1;
|
||||
// 多语言翻译
|
||||
if (t) {
|
||||
stepState.neSteps = [
|
||||
{
|
||||
title: t('views.system.quickStart.stepNeInfoTitle'),
|
||||
description: t('views.system.quickStart.stepNeInfoDesc'),
|
||||
},
|
||||
{
|
||||
title: t('views.system.quickStart.stepPara5GTitle'),
|
||||
description: t('views.system.quickStart.stepPara5GDesc'),
|
||||
},
|
||||
{
|
||||
title: t('views.system.quickStart.stepInstallTitle'),
|
||||
description: t('views.system.quickStart.stepInstallDesc'),
|
||||
},
|
||||
{
|
||||
title: t('views.system.quickStart.stepLicenseTitle'),
|
||||
description: t('views.system.quickStart.stepLicenseDesc'),
|
||||
},
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
/**跳转步骤组件 */
|
||||
|
||||
Reference in New Issue
Block a user