From 2bbc59ef9dcab130d4adaf40fc1433f48760cc1f Mon Sep 17 00:00:00 2001 From: Eason <291028775@qq.com> Date: Wed, 14 Jun 2023 21:33:18 +0800 Subject: [PATCH] feat: format code --- src/components/StepShow.vue | 15 +++++++++++---- src/components/StepUpdate.vue | 22 ++++++++++++++++++---- 2 files changed, 29 insertions(+), 8 deletions(-) diff --git a/src/components/StepShow.vue b/src/components/StepShow.vue index 20240143..9aaecc90 100644 --- a/src/components/StepShow.vue +++ b/src/components/StepShow.vue @@ -78,7 +78,7 @@ const getScrollToDire = (direction) => { default: return '未知滚动方向类型'; } -} +}; const getEleResult = (s) => { const ss = s.toUpperCase(); if (ss.indexOf('POCO') !== -1) { @@ -650,10 +650,17 @@ const getNotes = (text, type) => { {{getScrollToDire(step.text)}}滚动到{{ getEleResult(step.stepType) }}控件元素{{ getScrollToDire(step.text) }}滚动到{{ + getEleResult(step.stepType) + }}控件元素 + {{ step.elements[0]['eleName'] }} - {{ step.elements[0]['eleName'] }} - 最多尝试{{step.content}}次 + 最多尝试{{ step.content }}次 { trigger: 'change', }" > - + @@ -2705,7 +2709,12 @@ onMounted(() => {