chore: complete result on demand
This commit is contained in:
parent
cd0e46d37e
commit
aa3c052905
@ -1,8 +0,0 @@
|
||||
import type { App } from "vue";
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
|
||||
export default Component;
|
File diff suppressed because it is too large
Load Diff
@ -173,6 +173,7 @@ const getScrollParent = (
|
||||
return parent;
|
||||
}
|
||||
}
|
||||
// @ts-ignore
|
||||
return document.documentElement || document.body || window;
|
||||
};
|
||||
|
||||
|
@ -87,6 +87,10 @@ const matchComponents = [
|
||||
pattern: /^LayScroll$/,
|
||||
styleDir: "scroll",
|
||||
},
|
||||
{
|
||||
pattern: /^LayResult$/,
|
||||
styleDir: "result",
|
||||
},
|
||||
// ....
|
||||
{
|
||||
pattern: /^(LayCarousel|LayCarouselItem)$/,
|
||||
|
@ -350,7 +350,7 @@ const menus = [
|
||||
title: "虚拟滚动",
|
||||
subTitle: "scroll",
|
||||
path: "/zh-CN/components/scroll",
|
||||
}
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user