1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-09-13 06:59:47 +08:00

fix[BackToTop]: 数组/对象的默认值应当由一个工厂函数返回。

This commit is contained in:
Junling Bu 2018-04-06 10:06:27 +08:00
parent afe975b3c2
commit 8483453d9c

View File

@ -25,7 +25,8 @@ export default {
},
customStyle: {
type: Object,
default: {
default: function() {
return {
right: '50px',
bottom: '50px',
width: '40px',
@ -34,6 +35,7 @@ export default {
'line-height': '45px',
background: '#e7eaf1'
}
}
},
transitionName: {
type: String,