[new feature] Tabs: add background prop (#2772)

This commit is contained in:
neverland
2019-02-17 20:37:42 +08:00
committed by GitHub
parent 34e30aac5e
commit cb4127949f
4 changed files with 5 additions and 2 deletions

View File

@@ -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
};
},