整理 src/index.js

This commit is contained in:
就眠儀式 2021-12-26 02:18:25 +08:00
parent d492c496bd
commit fa984e7665
2 changed files with 4 additions and 8 deletions

View File

@ -4,7 +4,6 @@ import type { IDefineComponent, InstallOptions } from "./module/type/index";
import "./css/layui.css";
import "@layui/layer-vue/lib/index.css";
import "@layui/icons-vue/lib/index.css";
import { layer } from "@layui/layer-vue";
import LayModal from "./module/layer/modal/index";
@ -198,9 +197,9 @@ export {
LayCarousel,
LayCarouselItem,
LayColorPicker,
LayModal,
install,
layer,
LayModal
};
export { layer };
export default { install };

View File

@ -10,10 +10,7 @@ export type IDefineComponent<Props = UnknownObject> = DefineComponent<Props> & {
install: (app: App, options?: InstallOptions) => void;
};
export interface InstallOptions extends StringObject {
pagination?: null;
menu?: null;
}
export interface InstallOptions extends StringObject {}
export type Nullable<T> = T | null;