Работа над интерактивным обучением для дежурного и мед. сестры
This commit is contained in:
@@ -135,7 +135,11 @@ function delay(ms) {
|
||||
<template>
|
||||
<Teleport to="body">
|
||||
<TourOverlay
|
||||
v-if="onboarding.active && target"
|
||||
v-if="onboarding.active &&
|
||||
target &&
|
||||
onboarding.currentStep?.highlight !== false &&
|
||||
rect"
|
||||
:allow-interaction="onboarding.currentStep?.allowInteraction ?? true"
|
||||
:rect="rect"
|
||||
:padding="onboarding.currentStep.padding"
|
||||
/>
|
||||
@@ -148,7 +152,7 @@ function delay(ms) {
|
||||
:visible="onboarding.active"
|
||||
|
||||
:is-first="onboarding.stepIndex === 0"
|
||||
:is-last="onboarding.stepIndex === onboarding.tour.steps.length - 1"
|
||||
:is-last="onboarding.stepIndex === onboarding.tour?.steps.length - 1"
|
||||
|
||||
@next="onboarding.next"
|
||||
@previous="onboarding.previous"
|
||||
@@ -156,4 +160,4 @@ function delay(ms) {
|
||||
@close="onboarding.finish"
|
||||
/>
|
||||
</Teleport>
|
||||
</template>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user