-
+
+
+
+
+
点击上传,或将文件拖拽到此处
+
+
+
![上传成功后渲染]()
+
-
![]()
-
+
-
-
-
点击上传,或将文件拖拽到此处
-
-
-
![上传成功后渲染]()
-
-
l
-
diff --git a/src/index.ts b/src/index.ts
index dc2c3513..355c46a3 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -81,6 +81,7 @@ import LayFullscreen from "./component/fullscreen/index";
import LayDatePicker from "./component/datePicker/index";
import LayNoticeBar from "./component/noticeBar/index";
import LayTransition from "./component/transition/index";
+import LayUpload from "./component/upload/index";
import LayConfigProvider from "./provider";
import { InstallOptions } from "./types";
@@ -160,6 +161,7 @@ const components: Record
= {
LayDatePicker,
LayNoticeBar,
LayTransition,
+ LayUpload
};
const install = (app: App, options?: InstallOptions): void => {
@@ -247,6 +249,7 @@ export {
LayDatePicker,
LayNoticeBar,
LayTransition,
+ LayUpload
};
export { layer };