Fix spotIcon classes on change
This commit is contained in:
1 parent
30a81b5341
commit
b6fc305111
1 file changed
+3
-3
@@ -6,9 +6,9 @@ export default {
|
||||
margin: Boolean,
|
||||
classes: String
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
classNames: 'fa fa-'+this.icon+((this.margin || this.text && this.text!='')?' push':'')+(this.classes?' '+this.classes:'')
|
||||
computed: {
|
||||
classNames() {
|
||||
return 'fa fa-'+this.icon+((this.margin || this.text && this.text!='')?' push':'')+(this.classes?' '+this.classes:'')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user