@epic-designer/antd 1.0.5 → 1.1.0-beta.0
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/dist/chunks/form.cjs +1 -4
- package/dist/chunks/form.mjs +1 -4
- package/dist/index.cjs +36 -6
- package/dist/index.d.cts +30 -0
- package/dist/index.d.mts +30 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.mjs +36 -6
- package/package.json +2 -1
- package/src/form/form.vue +1 -7
- package/src/index.ts +9 -6
package/dist/chunks/form.cjs
CHANGED
|
@@ -15,7 +15,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
15
15
|
setup(__props, { expose: __expose }) {
|
|
16
16
|
var _a, _b;
|
|
17
17
|
const props = __props;
|
|
18
|
-
const designerProps = vue.inject("designerProps");
|
|
19
18
|
const pageManager = vue.inject("pageManager", {});
|
|
20
19
|
const form = vue.ref(null);
|
|
21
20
|
const forms = vue.inject("forms", {});
|
|
@@ -87,10 +86,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
87
86
|
validate
|
|
88
87
|
});
|
|
89
88
|
return (_ctx, _cache) => {
|
|
90
|
-
var _a2;
|
|
91
89
|
return vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Form), vue.mergeProps({ model: vue.unref(formData) }, componentProps.value, {
|
|
92
90
|
onFinish,
|
|
93
|
-
class: { "epic-form-mode": (_a2 = vue.unref(designerProps)) == null ? void 0 : _a2.formMode },
|
|
94
91
|
onVnodeMounted: mountedForm
|
|
95
92
|
}), {
|
|
96
93
|
default: vue.withCtx(() => [
|
|
@@ -108,7 +105,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
108
105
|
]),
|
|
109
106
|
_: 3
|
|
110
107
|
/* FORWARDED */
|
|
111
|
-
}, 16, ["model"
|
|
108
|
+
}, 16, ["model"]);
|
|
112
109
|
};
|
|
113
110
|
}
|
|
114
111
|
});
|
package/dist/chunks/form.mjs
CHANGED
|
@@ -13,7 +13,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
setup(__props, { expose: __expose }) {
|
|
14
14
|
var _a, _b;
|
|
15
15
|
const props = __props;
|
|
16
|
-
const designerProps = inject("designerProps");
|
|
17
16
|
const pageManager = inject("pageManager", {});
|
|
18
17
|
const form = ref(null);
|
|
19
18
|
const forms = inject("forms", {});
|
|
@@ -85,10 +84,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
85
84
|
validate
|
|
86
85
|
});
|
|
87
86
|
return (_ctx, _cache) => {
|
|
88
|
-
var _a2;
|
|
89
87
|
return openBlock(), createBlock(unref(Form), mergeProps({ model: unref(formData) }, componentProps.value, {
|
|
90
88
|
onFinish,
|
|
91
|
-
class: { "epic-form-mode": (_a2 = unref(designerProps)) == null ? void 0 : _a2.formMode },
|
|
92
89
|
onVnodeMounted: mountedForm
|
|
93
90
|
}), {
|
|
94
91
|
default: withCtx(() => [
|
|
@@ -106,7 +103,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
106
103
|
]),
|
|
107
104
|
_: 3
|
|
108
105
|
/* FORWARDED */
|
|
109
|
-
}, 16, ["model"
|
|
106
|
+
}, 16, ["model"]);
|
|
110
107
|
};
|
|
111
108
|
}
|
|
112
109
|
});
|
package/dist/index.cjs
CHANGED
|
@@ -2964,6 +2964,36 @@ const UploadImage = {
|
|
|
2964
2964
|
sort: 920
|
|
2965
2965
|
};
|
|
2966
2966
|
|
|
2967
|
+
function styleInject(css, ref) {
|
|
2968
|
+
if ( ref === void 0 ) ref = {};
|
|
2969
|
+
var insertAt = ref.insertAt;
|
|
2970
|
+
|
|
2971
|
+
if (typeof document === 'undefined') { return; }
|
|
2972
|
+
|
|
2973
|
+
var head = document.head || document.getElementsByTagName('head')[0];
|
|
2974
|
+
var style = document.createElement('style');
|
|
2975
|
+
style.type = 'text/css';
|
|
2976
|
+
|
|
2977
|
+
if (insertAt === 'top') {
|
|
2978
|
+
if (head.firstChild) {
|
|
2979
|
+
head.insertBefore(style, head.firstChild);
|
|
2980
|
+
} else {
|
|
2981
|
+
head.appendChild(style);
|
|
2982
|
+
}
|
|
2983
|
+
} else {
|
|
2984
|
+
head.appendChild(style);
|
|
2985
|
+
}
|
|
2986
|
+
|
|
2987
|
+
if (style.styleSheet) {
|
|
2988
|
+
style.styleSheet.cssText = css;
|
|
2989
|
+
} else {
|
|
2990
|
+
style.appendChild(document.createTextNode(css));
|
|
2991
|
+
}
|
|
2992
|
+
}
|
|
2993
|
+
|
|
2994
|
+
var css_248z = ".epic-designer-main .ant-input-number {\n width: 100%;\n}\n.epic-designer-main .ant-collapse-content > .ant-collapse-content-box {\n padding: 8px;\n}\n.epic-designer-main .ant-select {\n width: 100%;\n}\n.epic-designer-main .epic-upload-image .avatar-uploader > .ant-upload {\n width: 128px;\n height: 128px;\n}\n.epic-input-size.ant-input-affix-wrapper {\n padding-top: 0;\n padding-right: 0;\n padding-bottom: 0;\n}\n.epic-input-size .ant-select:hover {\n border: none !important;\n box-shadow: none !important;\n}\n";
|
|
2995
|
+
styleInject(css_248z);
|
|
2996
|
+
|
|
2967
2997
|
function setupAntd(pluginManager = epicDesigner.pluginManager) {
|
|
2968
2998
|
var _a;
|
|
2969
2999
|
const versionArray = antDesignVue.version.split(".");
|
|
@@ -2987,19 +3017,19 @@ function setupAntd(pluginManager = epicDesigner.pluginManager) {
|
|
|
2987
3017
|
(item) => item.label !== "\u7981\u7528"
|
|
2988
3018
|
);
|
|
2989
3019
|
}
|
|
2990
|
-
pluginManager.component(
|
|
3020
|
+
pluginManager.component.add(
|
|
2991
3021
|
"Collapse",
|
|
2992
3022
|
async () => (await import('ant-design-vue')).Collapse
|
|
2993
3023
|
);
|
|
2994
|
-
pluginManager.component(
|
|
3024
|
+
pluginManager.component.add(
|
|
2995
3025
|
"CollapseItem",
|
|
2996
3026
|
async () => (await import('ant-design-vue')).CollapsePanel
|
|
2997
3027
|
);
|
|
2998
|
-
pluginManager.component(
|
|
3028
|
+
pluginManager.component.add(
|
|
2999
3029
|
"Tabs",
|
|
3000
3030
|
async () => (await import('ant-design-vue')).Tabs
|
|
3001
3031
|
);
|
|
3002
|
-
pluginManager.component(
|
|
3032
|
+
pluginManager.component.add(
|
|
3003
3033
|
"TabPane",
|
|
3004
3034
|
async () => (await import('ant-design-vue')).TabPane
|
|
3005
3035
|
);
|
|
@@ -3032,8 +3062,8 @@ function setupAntd(pluginManager = epicDesigner.pluginManager) {
|
|
|
3032
3062
|
UploadFile.defaultSchema.componentProps.action = pluginManager.global.uploadFile;
|
|
3033
3063
|
});
|
|
3034
3064
|
componentArray.forEach((item) => {
|
|
3035
|
-
pluginManager.
|
|
3036
|
-
pluginManager.
|
|
3065
|
+
pluginManager.component.register(item);
|
|
3066
|
+
pluginManager.component.addBaseComponentType(item.defaultSchema.type);
|
|
3037
3067
|
});
|
|
3038
3068
|
pluginManager.global.$message = {
|
|
3039
3069
|
error: antDesignVue.message.error,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
import { PluginManager } from 'epic-designer';
|
|
2
2
|
|
|
3
|
+
function styleInject(css, ref) {
|
|
4
|
+
if ( ref === void 0 ) ref = {};
|
|
5
|
+
var insertAt = ref.insertAt;
|
|
6
|
+
|
|
7
|
+
if (typeof document === 'undefined') { return; }
|
|
8
|
+
|
|
9
|
+
var head = document.head || document.getElementsByTagName('head')[0];
|
|
10
|
+
var style = document.createElement('style');
|
|
11
|
+
style.type = 'text/css';
|
|
12
|
+
|
|
13
|
+
if (insertAt === 'top') {
|
|
14
|
+
if (head.firstChild) {
|
|
15
|
+
head.insertBefore(style, head.firstChild);
|
|
16
|
+
} else {
|
|
17
|
+
head.appendChild(style);
|
|
18
|
+
}
|
|
19
|
+
} else {
|
|
20
|
+
head.appendChild(style);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
if (style.styleSheet) {
|
|
24
|
+
style.styleSheet.cssText = css;
|
|
25
|
+
} else {
|
|
26
|
+
style.appendChild(document.createTextNode(css));
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var css_248z = ".epic-designer-main .ant-input-number {\n width: 100%;\n}\n.epic-designer-main .ant-collapse-content > .ant-collapse-content-box {\n padding: 8px;\n}\n.epic-designer-main .ant-select {\n width: 100%;\n}\n.epic-designer-main .epic-upload-image .avatar-uploader > .ant-upload {\n width: 128px;\n height: 128px;\n}\n.epic-input-size.ant-input-affix-wrapper {\n padding-top: 0;\n padding-right: 0;\n padding-bottom: 0;\n}\n.epic-input-size .ant-select:hover {\n border: none !important;\n box-shadow: none !important;\n}\n";
|
|
31
|
+
styleInject(css_248z);
|
|
32
|
+
|
|
3
33
|
declare function setupAntd(pluginManager?: PluginManager): void;
|
|
4
34
|
|
|
5
35
|
export { setupAntd };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
import { PluginManager } from 'epic-designer';
|
|
2
2
|
|
|
3
|
+
function styleInject(css, ref) {
|
|
4
|
+
if ( ref === void 0 ) ref = {};
|
|
5
|
+
var insertAt = ref.insertAt;
|
|
6
|
+
|
|
7
|
+
if (typeof document === 'undefined') { return; }
|
|
8
|
+
|
|
9
|
+
var head = document.head || document.getElementsByTagName('head')[0];
|
|
10
|
+
var style = document.createElement('style');
|
|
11
|
+
style.type = 'text/css';
|
|
12
|
+
|
|
13
|
+
if (insertAt === 'top') {
|
|
14
|
+
if (head.firstChild) {
|
|
15
|
+
head.insertBefore(style, head.firstChild);
|
|
16
|
+
} else {
|
|
17
|
+
head.appendChild(style);
|
|
18
|
+
}
|
|
19
|
+
} else {
|
|
20
|
+
head.appendChild(style);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
if (style.styleSheet) {
|
|
24
|
+
style.styleSheet.cssText = css;
|
|
25
|
+
} else {
|
|
26
|
+
style.appendChild(document.createTextNode(css));
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var css_248z = ".epic-designer-main .ant-input-number {\n width: 100%;\n}\n.epic-designer-main .ant-collapse-content > .ant-collapse-content-box {\n padding: 8px;\n}\n.epic-designer-main .ant-select {\n width: 100%;\n}\n.epic-designer-main .epic-upload-image .avatar-uploader > .ant-upload {\n width: 128px;\n height: 128px;\n}\n.epic-input-size.ant-input-affix-wrapper {\n padding-top: 0;\n padding-right: 0;\n padding-bottom: 0;\n}\n.epic-input-size .ant-select:hover {\n border: none !important;\n box-shadow: none !important;\n}\n";
|
|
31
|
+
styleInject(css_248z);
|
|
32
|
+
|
|
3
33
|
declare function setupAntd(pluginManager?: PluginManager): void;
|
|
4
34
|
|
|
5
35
|
export { setupAntd };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
import { PluginManager } from 'epic-designer';
|
|
2
2
|
|
|
3
|
+
function styleInject(css, ref) {
|
|
4
|
+
if ( ref === void 0 ) ref = {};
|
|
5
|
+
var insertAt = ref.insertAt;
|
|
6
|
+
|
|
7
|
+
if (typeof document === 'undefined') { return; }
|
|
8
|
+
|
|
9
|
+
var head = document.head || document.getElementsByTagName('head')[0];
|
|
10
|
+
var style = document.createElement('style');
|
|
11
|
+
style.type = 'text/css';
|
|
12
|
+
|
|
13
|
+
if (insertAt === 'top') {
|
|
14
|
+
if (head.firstChild) {
|
|
15
|
+
head.insertBefore(style, head.firstChild);
|
|
16
|
+
} else {
|
|
17
|
+
head.appendChild(style);
|
|
18
|
+
}
|
|
19
|
+
} else {
|
|
20
|
+
head.appendChild(style);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
if (style.styleSheet) {
|
|
24
|
+
style.styleSheet.cssText = css;
|
|
25
|
+
} else {
|
|
26
|
+
style.appendChild(document.createTextNode(css));
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var css_248z = ".epic-designer-main .ant-input-number {\n width: 100%;\n}\n.epic-designer-main .ant-collapse-content > .ant-collapse-content-box {\n padding: 8px;\n}\n.epic-designer-main .ant-select {\n width: 100%;\n}\n.epic-designer-main .epic-upload-image .avatar-uploader > .ant-upload {\n width: 128px;\n height: 128px;\n}\n.epic-input-size.ant-input-affix-wrapper {\n padding-top: 0;\n padding-right: 0;\n padding-bottom: 0;\n}\n.epic-input-size .ant-select:hover {\n border: none !important;\n box-shadow: none !important;\n}\n";
|
|
31
|
+
styleInject(css_248z);
|
|
32
|
+
|
|
3
33
|
declare function setupAntd(pluginManager?: PluginManager): void;
|
|
4
34
|
|
|
5
35
|
export { setupAntd };
|
package/dist/index.mjs
CHANGED
|
@@ -2962,6 +2962,36 @@ const UploadImage = {
|
|
|
2962
2962
|
sort: 920
|
|
2963
2963
|
};
|
|
2964
2964
|
|
|
2965
|
+
function styleInject(css, ref) {
|
|
2966
|
+
if ( ref === void 0 ) ref = {};
|
|
2967
|
+
var insertAt = ref.insertAt;
|
|
2968
|
+
|
|
2969
|
+
if (typeof document === 'undefined') { return; }
|
|
2970
|
+
|
|
2971
|
+
var head = document.head || document.getElementsByTagName('head')[0];
|
|
2972
|
+
var style = document.createElement('style');
|
|
2973
|
+
style.type = 'text/css';
|
|
2974
|
+
|
|
2975
|
+
if (insertAt === 'top') {
|
|
2976
|
+
if (head.firstChild) {
|
|
2977
|
+
head.insertBefore(style, head.firstChild);
|
|
2978
|
+
} else {
|
|
2979
|
+
head.appendChild(style);
|
|
2980
|
+
}
|
|
2981
|
+
} else {
|
|
2982
|
+
head.appendChild(style);
|
|
2983
|
+
}
|
|
2984
|
+
|
|
2985
|
+
if (style.styleSheet) {
|
|
2986
|
+
style.styleSheet.cssText = css;
|
|
2987
|
+
} else {
|
|
2988
|
+
style.appendChild(document.createTextNode(css));
|
|
2989
|
+
}
|
|
2990
|
+
}
|
|
2991
|
+
|
|
2992
|
+
var css_248z = ".epic-designer-main .ant-input-number {\n width: 100%;\n}\n.epic-designer-main .ant-collapse-content > .ant-collapse-content-box {\n padding: 8px;\n}\n.epic-designer-main .ant-select {\n width: 100%;\n}\n.epic-designer-main .epic-upload-image .avatar-uploader > .ant-upload {\n width: 128px;\n height: 128px;\n}\n.epic-input-size.ant-input-affix-wrapper {\n padding-top: 0;\n padding-right: 0;\n padding-bottom: 0;\n}\n.epic-input-size .ant-select:hover {\n border: none !important;\n box-shadow: none !important;\n}\n";
|
|
2993
|
+
styleInject(css_248z);
|
|
2994
|
+
|
|
2965
2995
|
function setupAntd(pluginManager$1 = pluginManager) {
|
|
2966
2996
|
var _a;
|
|
2967
2997
|
const versionArray = version.split(".");
|
|
@@ -2985,19 +3015,19 @@ function setupAntd(pluginManager$1 = pluginManager) {
|
|
|
2985
3015
|
(item) => item.label !== "\u7981\u7528"
|
|
2986
3016
|
);
|
|
2987
3017
|
}
|
|
2988
|
-
pluginManager$1.component(
|
|
3018
|
+
pluginManager$1.component.add(
|
|
2989
3019
|
"Collapse",
|
|
2990
3020
|
async () => (await import('ant-design-vue')).Collapse
|
|
2991
3021
|
);
|
|
2992
|
-
pluginManager$1.component(
|
|
3022
|
+
pluginManager$1.component.add(
|
|
2993
3023
|
"CollapseItem",
|
|
2994
3024
|
async () => (await import('ant-design-vue')).CollapsePanel
|
|
2995
3025
|
);
|
|
2996
|
-
pluginManager$1.component(
|
|
3026
|
+
pluginManager$1.component.add(
|
|
2997
3027
|
"Tabs",
|
|
2998
3028
|
async () => (await import('ant-design-vue')).Tabs
|
|
2999
3029
|
);
|
|
3000
|
-
pluginManager$1.component(
|
|
3030
|
+
pluginManager$1.component.add(
|
|
3001
3031
|
"TabPane",
|
|
3002
3032
|
async () => (await import('ant-design-vue')).TabPane
|
|
3003
3033
|
);
|
|
@@ -3030,8 +3060,8 @@ function setupAntd(pluginManager$1 = pluginManager) {
|
|
|
3030
3060
|
UploadFile.defaultSchema.componentProps.action = pluginManager$1.global.uploadFile;
|
|
3031
3061
|
});
|
|
3032
3062
|
componentArray.forEach((item) => {
|
|
3033
|
-
pluginManager$1.
|
|
3034
|
-
pluginManager$1.
|
|
3063
|
+
pluginManager$1.component.register(item);
|
|
3064
|
+
pluginManager$1.component.addBaseComponentType(item.defaultSchema.type);
|
|
3035
3065
|
});
|
|
3036
3066
|
pluginManager$1.global.$message = {
|
|
3037
3067
|
error: message.error,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epic-designer/antd",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.1.0-beta.0",
|
|
4
4
|
"description": "epic-designer base antd ui",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "kchengz",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"@rollup/plugin-alias": "^6.0.0",
|
|
29
29
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
30
30
|
"ant-design-vue": "^4.2.6",
|
|
31
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
31
32
|
"tsx": "^4.20.6",
|
|
32
33
|
"unbuild": "^3.6.1"
|
|
33
34
|
},
|
package/src/form/form.vue
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import type { PageManager } from '@epic-designer/manager';
|
|
3
|
-
import type {
|
|
4
|
-
ComponentSchema,
|
|
5
|
-
DesignerProps,
|
|
6
|
-
FormDataModel,
|
|
7
|
-
} from '@epic-designer/types';
|
|
3
|
+
import type { ComponentSchema, FormDataModel } from '@epic-designer/types';
|
|
8
4
|
|
|
9
5
|
import type { VNode } from 'vue';
|
|
10
6
|
|
|
@@ -35,7 +31,6 @@ const props = withDefaults(
|
|
|
35
31
|
},
|
|
36
32
|
);
|
|
37
33
|
|
|
38
|
-
const designerProps = inject<DesignerProps>('designerProps');
|
|
39
34
|
const pageManager = inject<PageManager>('pageManager', {} as PageManager);
|
|
40
35
|
const form = ref<FormInstance | null>(null);
|
|
41
36
|
const forms = inject<{ [name: string]: any }>('forms', {});
|
|
@@ -139,7 +134,6 @@ defineExpose({
|
|
|
139
134
|
:model="formData"
|
|
140
135
|
v-bind="componentProps"
|
|
141
136
|
@finish="onFinish"
|
|
142
|
-
:class="{ 'epic-form-mode': designerProps?.formMode }"
|
|
143
137
|
@vue:mounted="mountedForm"
|
|
144
138
|
>
|
|
145
139
|
<slot name="edit-node">
|
package/src/index.ts
CHANGED
|
@@ -29,6 +29,9 @@ import TimePicker from './time-picker';
|
|
|
29
29
|
import UploadFile from './upload-file';
|
|
30
30
|
import UploadImage from './upload-image';
|
|
31
31
|
|
|
32
|
+
// 引入样式
|
|
33
|
+
import './index.less';
|
|
34
|
+
|
|
32
35
|
export function setupAntd(pluginManager: PluginManager = pManager): void {
|
|
33
36
|
// 版本兼容处理 start
|
|
34
37
|
const versionArray = version.split('.');
|
|
@@ -63,19 +66,19 @@ export function setupAntd(pluginManager: PluginManager = pManager): void {
|
|
|
63
66
|
}
|
|
64
67
|
|
|
65
68
|
// 加载组件
|
|
66
|
-
pluginManager.component(
|
|
69
|
+
pluginManager.component.add(
|
|
67
70
|
'Collapse',
|
|
68
71
|
async () => (await import('ant-design-vue')).Collapse,
|
|
69
72
|
);
|
|
70
|
-
pluginManager.component(
|
|
73
|
+
pluginManager.component.add(
|
|
71
74
|
'CollapseItem',
|
|
72
75
|
async () => (await import('ant-design-vue')).CollapsePanel,
|
|
73
76
|
);
|
|
74
|
-
pluginManager.component(
|
|
77
|
+
pluginManager.component.add(
|
|
75
78
|
'Tabs',
|
|
76
79
|
async () => (await import('ant-design-vue')).Tabs,
|
|
77
80
|
);
|
|
78
|
-
pluginManager.component(
|
|
81
|
+
pluginManager.component.add(
|
|
79
82
|
'TabPane',
|
|
80
83
|
async () => (await import('ant-design-vue')).TabPane,
|
|
81
84
|
);
|
|
@@ -114,8 +117,8 @@ export function setupAntd(pluginManager: PluginManager = pManager): void {
|
|
|
114
117
|
});
|
|
115
118
|
|
|
116
119
|
componentArray.forEach((item) => {
|
|
117
|
-
pluginManager.
|
|
118
|
-
pluginManager.
|
|
120
|
+
pluginManager.component.register(item);
|
|
121
|
+
pluginManager.component.addBaseComponentType(item.defaultSchema.type);
|
|
119
122
|
});
|
|
120
123
|
|
|
121
124
|
// 注册全局提示函数
|