-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: HomeHero NavLink reactivity lost (#195) #212
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much for the PR! I've left a comment so please have a look. I think we only need to change NavLink.vue
with this change.
Yes. Without |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need NavDropdownLinkItem.vue
and navLink.ts
changes anymore. Can we delete them? 👀
Sure, I'll refactor my commits and repush later... |
OOPS !! @_@ @kiaking
Why I need the argument Because the value you passed into in <NavLink
v-if="hasAction"
:item="{ link: data.actionLink, text: data.actionText }"
class="action"
/> is Not a cut a long story short, it will show a bug when you follow these steps:
|
the you can set a and you'll see the |
f5abbfb
to
cf1bbf6
Compare
I did this PR a long time ago, I just didn't remember some details at conversations below ,,, feel really embarrassed now to bring you more chaos ... Sorry 🙏🏻 For now I think we should keep the original version of my PR... 😅😅 |
Ah good point! Yap. To note, it's not because of how we pass props, props are reactive because But for now, thank you so much for the fix! |
Please see #195 for more details... (May Chinese required)