Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(button): fix slots reactivity issue
There are some classes apply the button when slots exist, because of slots are not reactivy we could not toogle this class when slots toogle with v-if.Fix this issue my moving this classes to template, because of vue re-render the component when slots toogle we can apply the classes #33
- Loading branch information
Showing
2 changed files
with
35 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters