修复custContentStyle报错

This commit is contained in:
yangd 2019-09-30 23:04:53 +08:00
parent 242ab8c8b5
commit 46363dbca3

View file

@ -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 () {