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