Skip to content

Commit

Permalink
fix: 更新 axml
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondYuan committed Jan 17, 2024
1 parent 76980ee commit 970757a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion compiled/alipay/src/GuideTour/index.axml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
style="top:{{ item.top }}px; left:{{ item.left }}px">
<slot
name="step"
index="{{ mixin.value }}">
index="{{ current }}">
<image
a:if="{{ item.imageUrl }}"
class="ant-guide-tour-item-img"
Expand Down
4 changes: 2 additions & 2 deletions src/GuideTour/index.axml.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export default (
)}
{/* #endif */}
{/* #if ALIPAY */}
<Slot name="step" index={mixin.value}>
<Slot name="step" index={current}>
{item.imageUrl && (
<Image
class="ant-guide-tour-item-img"
Expand Down Expand Up @@ -146,7 +146,7 @@ export default (
mode={item.imageMode}
/>
) : (
<Slot name="step" index={current}></Slot>
<Slot name="step" index={index}></Slot>
)}
{/* #endif */}

Expand Down

0 comments on commit 970757a

Please sign in to comment.