fix: 🐛 根据低代码规范,数据源的配置中isInit和 type 都是有默认值的,所以应该是可选的

This commit is contained in:
牧毅 2020-09-09 10:04:44 +08:00
parent fea0946150
commit 4baf0b4e00

View File

@ -6,8 +6,8 @@ import { CompositeValue, JSExpression, JSFunction, JSONObject } from './value-ty
*/
export interface DataSourceConfig {
id: string;
isInit: boolean | JSExpression;
type: string;
isInit?: boolean | JSExpression;
type?: string;
requestHandler?: JSFunction;
dataHandler?: JSFunction;
options?: {