Commit fd08b2bb authored by 郭志伟's avatar 郭志伟

fix(bgsize): 修复bgsize兼容问题

parent 43b13382
......@@ -9,7 +9,7 @@ export default class TransformStyleMixin extends Vue {
transformStyle(styleObj, point = {}, name) {
const style = {
backgroundRepeat: 'no-repeat',
backgroundSize: 'cover'
backgroundSize: '100% auto'
};
if (!styleObj) { return style; }
for (const key of Object.keys(styleObj)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment