mirror of
https://github.com/youzan/vant.git
synced 2026-04-16 02:01:20 +08:00
[new feature] Tabs: add background prop (#2772)
This commit is contained in:
@@ -20,6 +20,7 @@ export default sfc({
|
||||
animated: Boolean,
|
||||
offsetTop: Number,
|
||||
swipeable: Boolean,
|
||||
background: String,
|
||||
ellipsis: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
@@ -91,7 +92,8 @@ export default sfc({
|
||||
|
||||
navStyle() {
|
||||
return {
|
||||
borderColor: this.color
|
||||
borderColor: this.color,
|
||||
background: this.background
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user