This commit is contained in:
zhw2590582 committed 2021-11-28 13:00:26 +08:00
1 parent af97602cfa
commit 1d45a7b4ca
3 files changed
+1 -3

No files matched your search

@@ -106,7 +106,6 @@ export default class Component {
const setLeft = () => {
const left = getStyle($ref, 'width') / 2 - getStyle($list, 'width') / 2;
console.log(getStyle($list, 'width'), getStyle($ref, 'width'));
$list.style.left = `${left}px`;
};