mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 12:08:13 +08:00
Merge remote-tracking branch 'baidu/master'
This commit is contained in:
commit
b516ddde08
@ -26,6 +26,7 @@ import * as utils from './utils/helper';
|
|||||||
import {resizeSensor} from './utils/resize-sensor';
|
import {resizeSensor} from './utils/resize-sensor';
|
||||||
import {setIconVendor} from './renderers/Form/IconPickerIcons';
|
import {setIconVendor} from './renderers/Form/IconPickerIcons';
|
||||||
import {Icon, registerIcon} from './components/icons';
|
import {Icon, registerIcon} from './components/icons';
|
||||||
|
import {RegisterStore} from './store';
|
||||||
|
|
||||||
// 注册渲染器
|
// 注册渲染器
|
||||||
import './renderers/Action';
|
import './renderers/Action';
|
||||||
@ -167,6 +168,7 @@ export {
|
|||||||
render,
|
render,
|
||||||
clearStoresCache,
|
clearStoresCache,
|
||||||
Renderer,
|
Renderer,
|
||||||
|
RegisterStore,
|
||||||
FormItem,
|
FormItem,
|
||||||
OptionsControl,
|
OptionsControl,
|
||||||
wrapFetcher,
|
wrapFetcher,
|
||||||
|
@ -85,3 +85,6 @@ export const RendererStore = types
|
|||||||
|
|
||||||
export type IRendererStore = typeof RendererStore.Type;
|
export type IRendererStore = typeof RendererStore.Type;
|
||||||
export {iRendererStore, IIRendererStore};
|
export {iRendererStore, IIRendererStore};
|
||||||
|
export const RegisterStore = function (store: any) {
|
||||||
|
allowedStoreList.push(store as any);
|
||||||
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user