File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ defineExpose({
119
119
<template >
120
120
<ToastRoot
121
121
ref =" el"
122
- v-slot =" { remaining, duration }"
122
+ v-slot =" { remaining, duration, open }"
123
123
v-bind =" rootProps"
124
124
:data-orientation =" orientation"
125
125
:class =" ui.root({ class: [props.ui?.root, props.class] })"
@@ -184,6 +184,6 @@ defineExpose({
184
184
</ToastClose >
185
185
</div >
186
186
187
- <div v-if =" progress && remaining > 0 && duration" :class =" ui.progress({ class: props.ui?.progress })" :style =" { width: `${remaining / duration * 100}%` }" />
187
+ <div v-if =" progress && open && remaining > 0 && duration" :class =" ui.progress({ class: props.ui?.progress })" :style =" { width: `${remaining / duration * 100}%` }" />
188
188
</ToastRoot >
189
189
</template >
You can’t perform that action at this time.
0 commit comments