|
@@ -726,7 +726,7 @@ export default {
|
|
|
},
|
|
|
hengStyle() {
|
|
|
return function (config) {
|
|
|
- let sizeVal = config ? config.fontSize.replace("px", "") : 20;
|
|
|
+ let sizeVal = config && config.fontSize ? config.fontSize.replace("px", "") : 20;
|
|
|
return {
|
|
|
minHeight: Number(sizeVal) + 9 + "px",
|
|
|
lineHeight: Number(sizeVal) + 8 + "px",
|