File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
packages/coreui-vue/src/components/dropdown Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ const CDropdownToggle = defineComponent({
9494 {
9595 'dropdown-toggle' : props . caret ,
9696 'dropdown-toggle-split' : props . split ,
97- show : visible . value ,
9897 active : props . active ,
9998 disabled : props . disabled ,
10099 } ,
@@ -120,7 +119,13 @@ const CDropdownToggle = defineComponent({
120119 'a' ,
121120 {
122121 active : props . active ,
123- class : [ 'nav-link' , className ] ,
122+ class : [
123+ 'nav-link' ,
124+ className ,
125+ {
126+ show : visible . value ,
127+ } ,
128+ ] ,
124129 disabled : props . disabled ,
125130 href : '#' ,
126131 onClick : ( event : Event ) => {
@@ -134,7 +139,12 @@ const CDropdownToggle = defineComponent({
134139 : h (
135140 CButton ,
136141 {
137- class : className ,
142+ class : [
143+ className ,
144+ {
145+ show : visible . value ,
146+ } ,
147+ ] ,
138148 active : props . active ,
139149 color : props . color ,
140150 disabled : props . disabled ,
You can’t perform that action at this time.
0 commit comments