feat(select) add cursor props

This commit is contained in:
haibo tang 2019-08-06 10:30:55 +08:00
parent 5114908c6d
commit 8c84925c02
3 changed files with 15 additions and 0 deletions

View File

@ -6,6 +6,7 @@
[`n-select--${size}-size`]: true,
'n-select--disabled': disabled
}"
:style="{'cursor':cursor}"
@click="toggleMenu"
>
<div
@ -191,6 +192,10 @@ export default {
disabled: {
type: Boolean,
default: false
},
cursor: {
type: String,
default: 'inherit'
}
},
data () {

View File

@ -6,6 +6,7 @@
[`n-select--${size}-size`]: true,
'n-select--disabled': disabled
}"
:style="{'cursor':cursor}"
@click="toggleMenu"
>
<div
@ -156,7 +157,12 @@ export default {
disabled: {
type: Boolean,
default: false
},
cursor: {
type: String,
default: 'inherit'
}
},
data () {
return {

View File

@ -47,6 +47,10 @@ export default {
disabled: {
type: Boolean,
default: false
},
cursor: {
type: String,
default: 'inherit'
}
},
data () {