chore: prettier all codes (#10240)
This commit is contained in:
@@ -20,11 +20,11 @@ export default {
|
||||
setup() {
|
||||
const root = ref();
|
||||
|
||||
onMounted(()=>{
|
||||
onMounted(() => {
|
||||
const rect = useRect(root);
|
||||
console.log(rect); // -> 元素的大小及其相对于视口的位置
|
||||
})
|
||||
|
||||
});
|
||||
|
||||
return { root };
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user