feat: 新增 notice-bar 目录
This commit is contained in:
parent
1ead396b51
commit
797adf2c57
8
src/component/noticeBar/index.ts
Normal file
8
src/component/noticeBar/index.ts
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
import type { App } from "vue";
|
||||||
|
import Component from "./index.vue";
|
||||||
|
|
||||||
|
Component.install = (app: App) => {
|
||||||
|
app.component(Component.name, Component);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default Component;
|
0
src/component/noticeBar/index.vue
Normal file
0
src/component/noticeBar/index.vue
Normal file
@ -78,6 +78,7 @@ import LayException from "./component/exception/index";
|
|||||||
import LayResult from "./component/result/index";
|
import LayResult from "./component/result/index";
|
||||||
import LayFullscreen from "./component/fullscreen/index";
|
import LayFullscreen from "./component/fullscreen/index";
|
||||||
import LayDatePicker from "./component/datePicker/index";
|
import LayDatePicker from "./component/datePicker/index";
|
||||||
|
import LayNoticeBar from "./component/noticeBar/index";
|
||||||
import LayConfigProvider from "./provider";
|
import LayConfigProvider from "./provider";
|
||||||
import { InstallOptions } from "./types";
|
import { InstallOptions } from "./types";
|
||||||
|
|
||||||
@ -154,6 +155,7 @@ const components: Record<string, Component> = {
|
|||||||
LayFullscreen,
|
LayFullscreen,
|
||||||
LayConfigProvider,
|
LayConfigProvider,
|
||||||
LayDatePicker,
|
LayDatePicker,
|
||||||
|
LayNoticeBar
|
||||||
};
|
};
|
||||||
|
|
||||||
const install = (app: App, options?: InstallOptions): void => {
|
const install = (app: App, options?: InstallOptions): void => {
|
||||||
@ -238,6 +240,7 @@ export {
|
|||||||
LayFullscreen,
|
LayFullscreen,
|
||||||
LayConfigProvider,
|
LayConfigProvider,
|
||||||
LayDatePicker,
|
LayDatePicker,
|
||||||
|
LayNoticeBar
|
||||||
};
|
};
|
||||||
|
|
||||||
export { layer };
|
export { layer };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user