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({
94
94
{
95
95
'dropdown-toggle' : props . caret ,
96
96
'dropdown-toggle-split' : props . split ,
97
- show : visible . value ,
98
97
active : props . active ,
99
98
disabled : props . disabled ,
100
99
} ,
@@ -120,7 +119,13 @@ const CDropdownToggle = defineComponent({
120
119
'a' ,
121
120
{
122
121
active : props . active ,
123
- class : [ 'nav-link' , className ] ,
122
+ class : [
123
+ 'nav-link' ,
124
+ className ,
125
+ {
126
+ show : visible . value ,
127
+ } ,
128
+ ] ,
124
129
disabled : props . disabled ,
125
130
href : '#' ,
126
131
onClick : ( event : Event ) => {
@@ -134,7 +139,12 @@ const CDropdownToggle = defineComponent({
134
139
: h (
135
140
CButton ,
136
141
{
137
- class : className ,
142
+ class : [
143
+ className ,
144
+ {
145
+ show : visible . value ,
146
+ } ,
147
+ ] ,
138
148
active : props . active ,
139
149
color : props . color ,
140
150
disabled : props . disabled ,
You can’t perform that action at this time.
0 commit comments