bl-common-vue3 3.8.41 → 3.8.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +6 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -3,13 +3,15 @@
|
|
|
3
3
|
* 按需导入:import { ChooseOrgMember } from 'bl-common-vue3'
|
|
4
4
|
* 全量注册:import BlCommon from 'bl-common-vue3'; app.use(BlCommon)
|
|
5
5
|
*/
|
|
6
|
-
import * as components from "./src/components/components.js";
|
|
7
|
-
|
|
8
|
-
export * from "./src/components/components.js";
|
|
9
6
|
import utils from "./src/common/utils/util.js";
|
|
10
7
|
import { commonLocale, commonAllLocale } from "./src/locale/index";
|
|
11
8
|
|
|
12
|
-
export
|
|
9
|
+
export { utils, commonLocale, commonAllLocale };
|
|
10
|
+
|
|
11
|
+
export * from "./src/components/components.js";
|
|
12
|
+
|
|
13
|
+
export const install = async function (app) {
|
|
14
|
+
const components = await import("./src/components/components.js");
|
|
13
15
|
Object.keys(components).map((key) => {
|
|
14
16
|
const component = components[key];
|
|
15
17
|
if (component.install) {
|
|
@@ -21,7 +23,6 @@ export const install = function (app) {
|
|
|
21
23
|
|
|
22
24
|
export default {
|
|
23
25
|
install,
|
|
24
|
-
components,
|
|
25
26
|
utils,
|
|
26
27
|
commonLocale,
|
|
27
28
|
commonAllLocale,
|