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