initdata timeout
This commit is contained in:
@ -262,11 +262,11 @@ const importData = () => {
|
||||
|
||||
onMounted(() => {
|
||||
watchEffect(() => {
|
||||
const progressLineWidth =
|
||||
(activeStep.value - 1) * 100 +
|
||||
Math.abs(currentStepStatus.value - 1) * 50 +
|
||||
50;
|
||||
|
||||
let progressLineWidth =
|
||||
((activeStep.value - 1) * 100 +
|
||||
Math.abs(currentStepStatus.value - 1) * 30 +
|
||||
70)
|
||||
progressLineWidth = progressLineWidth < 100 ? 0 : progressLineWidth
|
||||
let progressLineColor;
|
||||
if (currentStepStatus.value === 0) {
|
||||
const percent = ((activeStep.value - 1) / activeStep.value) * 100;
|
||||
@ -305,6 +305,7 @@ onMounted(() => {
|
||||
width: var(--progress-line-width);
|
||||
z-index: 99;
|
||||
background: var(--progress-line-color);
|
||||
transition: all 1s linear;
|
||||
}
|
||||
|
||||
.el-step__line::after {
|
||||
@ -315,6 +316,7 @@ onMounted(() => {
|
||||
top: -6px;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
transition: all 1s linear;
|
||||
border-radius: 50%;
|
||||
z-index: 99;
|
||||
background: var(--progress-line-color);
|
||||
|
Reference in New Issue
Block a user