Merge remote-tracking branch 'baidu/master'

This commit is contained in:
2betop 2020-05-29 16:20:45 +08:00
commit b516ddde08
2 changed files with 5 additions and 0 deletions

View File

@ -26,6 +26,7 @@ import * as utils from './utils/helper';
import {resizeSensor} from './utils/resize-sensor';
import {setIconVendor} from './renderers/Form/IconPickerIcons';
import {Icon, registerIcon} from './components/icons';
import {RegisterStore} from './store';
// 注册渲染器
import './renderers/Action';
@ -167,6 +168,7 @@ export {
render,
clearStoresCache,
Renderer,
RegisterStore,
FormItem,
OptionsControl,
wrapFetcher,

View File

@ -85,3 +85,6 @@ export const RendererStore = types
export type IRendererStore = typeof RendererStore.Type;
export {iRendererStore, IIRendererStore};
export const RegisterStore = function (store: any) {
allowedStoreList.push(store as any);
};