feat: 🎸 设计态支持数据源引擎配置

This commit is contained in:
xingmolu 2022-05-13 14:34:14 +08:00 committed by LeoYuan 袁力皓
parent b96f16672e
commit 04631f8137
2 changed files with 7 additions and 1 deletions

View File

@ -38,7 +38,8 @@
"@types/store": "^2.0.2",
"build-plugin-component": "^0.2.11",
"build-plugin-fusion": "^0.1.0",
"build-plugin-moment-locales": "^0.1.0"
"build-plugin-moment-locales": "^0.1.0",
"@alilc/lowcode-datasource-types": "^1.0.1"
},
"publishConfig": {
"access": "public",

View File

@ -1,6 +1,9 @@
import { ComponentType } from 'react';
import { get as lodashGet } from 'lodash';
import { isPlainObject } from '@alilc/lowcode-utils';
import { RequestHandlersMap } from '@alilc/lowcode-datasource-types';
import { getLogger } from './utils/logger';
const logger = getLogger({ level: 'log', bizName: 'config' });
@ -205,6 +208,8 @@ export interface EngineOptions {
// 是否开启在 render 阶段开启 filter reducer默认值false
enableFilterReducerInRenderStage?: boolean;
};
requestHandlersMap: RequestHandlersMap;
}
const getStrictModeValue = (engineOptions: EngineOptions, defaultValue: boolean): boolean => {