From 607660124a156b11750f1180fcd01b9fa6d5cb31 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Tue, 30 Apr 2024 20:03:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BC=80=E7=AB=99=E6=AD=A5=E9=AA=A4hook?= =?UTF-8?q?s=E7=A7=BB=E9=99=A4=E6=97=A0=E7=94=A8=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/quick-start/hooks/useStep.ts | 42 ------------------- 1 file changed, 42 deletions(-) diff --git a/src/views/system/quick-start/hooks/useStep.ts b/src/views/system/quick-start/hooks/useStep.ts index 7e4958c6..3997dd4d 100644 --- a/src/views/system/quick-start/hooks/useStep.ts +++ b/src/views/system/quick-start/hooks/useStep.ts @@ -10,16 +10,6 @@ type StepStateType = { neSteps: any[]; /**安装网元步骤当前选中 */ neStepsCurrent: number; - - /**步骤项 */ - steps: { - title: string; - description: string; - }[]; - /**步骤下一步 */ - stepNext: boolean; - /**步骤信息状态 */ - states: any[]; }; /**步骤信息状态 */ @@ -45,35 +35,6 @@ export const stepState: StepStateType = reactive({ }, ], neStepsCurrent: -1, - - steps: [ - { - title: '版权声明', - description: '确认是否安装', - }, - { - title: '网元信息', - description: '记录下所安装网元基础信息', - }, - { - title: '网元安装', - description: '安装包上传执行安装启动服务等待10秒停止服务', - }, - { - title: '网元配置', - description: '修改网元的配置文件', - }, - { - title: '网元激活', - description: '获取激活码和上传授权文件,启动验证激活码', - }, - { - title: '完成安装', - description: '获取网元服务状态', - }, - ], - stepNext: false, - states: [], }); /**步骤信息状态复位 */ @@ -81,9 +42,6 @@ export function fnRestStepState() { stepState.stepName = 'Start'; stepState.setupNE = false; stepState.neStepsCurrent = -1; - - stepState.stepNext = false; - stepState.states = []; } /**跳转步骤组件 */