整理 src/index.js
This commit is contained in:
parent
d492c496bd
commit
fa984e7665
@ -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 };
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user