File tree Expand file tree Collapse file tree 1 file changed +23
-3
lines changed
packages/element-ui-x/src Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,15 @@ import ElXTypewriter from './components/Typewriter/index.js';
1212import ElXWelcome from './components/Welcome/index.js' ;
1313// 导入所有 mixins
1414import * as customMixins from './mixins' ;
15- import { streamMixin , sendMixin , recordMixin } from './mixins' ;
15+ import {
16+ createSendUtils ,
17+ createStreamUtils ,
18+ recordMixin ,
19+ sendMixin ,
20+ streamMixin ,
21+ XRequest ,
22+ XStream ,
23+ } from './mixins' ;
1624
1725const components = [
1826 ElXTypewriter ,
@@ -52,8 +60,16 @@ export {
5260} ;
5361
5462// 具名导出(按需引入)- Mixins
55- export { customMixins , streamMixin , sendMixin , recordMixin } ;
56-
63+ export {
64+ createSendUtils ,
65+ createStreamUtils ,
66+ customMixins ,
67+ recordMixin ,
68+ sendMixin ,
69+ streamMixin ,
70+ XRequest ,
71+ XStream ,
72+ } ;
5773// 默认导出(完整引入)
5874const ElementUIX = {
5975 version : '1.0.0' ,
@@ -70,5 +86,9 @@ ElementUIX.customMixins = customMixins;
7086ElementUIX . streamMixin = streamMixin ;
7187ElementUIX . sendMixin = sendMixin ;
7288ElementUIX . recordMixin = recordMixin ;
89+ ElementUIX . createStreamUtils = createStreamUtils ;
90+ ElementUIX . createSendUtils = createSendUtils ;
91+ ElementUIX . XRequest = XRequest ;
92+ ElementUIX . XStream = XStream ;
7393
7494export default ElementUIX ;
You can’t perform that action at this time.
0 commit comments