[Vue warn]: Invalid prop: type check failed for prop "right". Expected Number with value 15, got String with value "15". at <ElBacktop target=".layout-backtop-header-fixed .el-scrollbar__wrap" right="15" > at <ElMain class="layout-main" style="height: calc(100% - 85px)" > at <LayoutMain ref="layoutMainRef" >
错误的写法:
<el-backtop :target="setBacktopClass" right=15 />
正确的写法
<el-backtop :target="setBacktopClass" :right=15 />
Backtop 回到顶部 | Element Plus (element-plus.org)