|
@@ -32,7 +32,9 @@ export default {
|
|
styles() {
|
|
styles() {
|
|
return {
|
|
return {
|
|
fontWeight: this.data.fontWeight,
|
|
fontWeight: this.data.fontWeight,
|
|
- fontFamily: this.data.fontFamily,
|
|
|
|
|
|
+ fontFamily: this.data.fontFamily.includes("宋体")
|
|
|
|
+ ? `${this.data.fontFamily},宋体-简`
|
|
|
|
+ : `${this.data.fontFamily},宋体,宋体-简`,
|
|
fontSize: this.data.fontSize,
|
|
fontSize: this.data.fontSize,
|
|
color: this.data.color,
|
|
color: this.data.color,
|
|
textAlign: this.data.textAlign || null,
|
|
textAlign: this.data.textAlign || null,
|