修复custContentStyle报错
This commit is contained in:
parent
242ab8c8b5
commit
46363dbca3
1 changed files with 4 additions and 3 deletions
|
@ -106,7 +106,6 @@
|
|||
},
|
||||
custContentStyle: {
|
||||
type: Object,
|
||||
default: {}
|
||||
}
|
||||
},
|
||||
data () {
|
||||
|
@ -164,9 +163,11 @@
|
|||
};
|
||||
}
|
||||
const { custContentStyle } = this;
|
||||
if (custContentStyle) {
|
||||
for (const key in custContentStyle){
|
||||
style[key] = custContentStyle[key];
|
||||
}
|
||||
}
|
||||
return style;
|
||||
},
|
||||
barStyle () {
|
||||
|
|
Loading…
Add table
Reference in a new issue