chore: bump prettier v3 and format all code (#12111)

* chore: bump prettier v3 and format all code

* chore: mjs config

* chore: revert

* chore: revert

* chore: update lock
This commit is contained in:
neverland
2023-07-22 14:14:14 +08:00
committed by GitHub
parent b601ca1e0b
commit 3dcc92a5c0
209 changed files with 565 additions and 543 deletions
@@ -18,7 +18,7 @@ function isElement(node: Element) {
// https://github.com/vant-ui/vant/issues/3823
export function getScrollParent(
el: Element,
root: ScrollElement | undefined = defaultRoot
root: ScrollElement | undefined = defaultRoot,
) {
let node = el;
@@ -35,7 +35,7 @@ export function getScrollParent(
export function useScrollParent(
el: Ref<Element | undefined>,
root: ScrollElement | undefined = defaultRoot
root: ScrollElement | undefined = defaultRoot,
) {
const scrollParent = ref<Element | Window>();